Introducing pyp2rpm - A python package to rpm specfile convertor
by Bohuslav Kabrda
Hi all,
for past few days, I've been working on a project called pyp2rpm. It's a tool that allows you to easily convert python package from PyPI to an RPM specfile. I would like to get it tested before I package it into Fedora, so if anyone is interested, here are the links:
http://pypi.python.org/pypi/pyp2rpm
https://bitbucket.org/bkabrda/pyp2rpm
You can install pyp2rpm by running "easy_install pyp2rpm" or "pip-python install pyp2rpm".
I will be glad for any comments/suggestions for improvement (including comments like "hey, I don't understand your readme nor help and I don't know how to use that!", which is why i intentionally didn't put any information about usage here :) ).
Thanks!
--
Regards,
Bohuslav "Slavek" Kabrda.
10 years, 11 months
libpython2.7.so, /usr/lib or /usr/lib64, Liquid error parsing markdown
by Nick Fenwick
Hi all,
I'm a first time poster looking for guidance about what seems to be a
configuration or packaging problem on my system. I'm running Octopress,
a blogging framework in Ruby, which uses Liquid running via Python to
parse some embedded code blocks into a pretty format.
Environment:
Fedora Core 16 - 3.3.2-6.fc16.x86_64
python-2.7.2-5.2.fc16.x86_64
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-linux]
rvm 1.13.0 (stable) by Wayne E. Seguin
Liquid failed out of the box with a codeblock that tried to use .html or
.js suffixes, with a rather unhelpful error message in the blog post
being formatted:
Liquid error: undefined method `Py_IsInitialized’ for
RubyPython::Python:Module
Googling for this error led me to many other Octopress blogs (and
others) with this error. They've deployed broken blog posts unwittingly
(I hope).
I found that I have /usr/lib64/libpython2.7.so but nothing in /usr/lib.
Some google results led me to try:
ln -s /usr/lib64/libpython2.7.so /usr/lib/libpython2.7.so
This immediately fixed the Liquid error, and I'm able to generate my
blog, Liquid works. Hurrah.
I know very little about 64 bit packaging, whether this is likely to be
a python packaging problem or something in Liquid, rubypython, ruby, or
octopress that's failing to find the correct libpython2.7.so.
Where should I look next?
Thanks all
Nick
11 years, 1 month