building rpms with distutils

Sean Reifschneider jafo at tummy.com
Fri Oct 17 11:50:55 EDT 2003


On Sun, Aug 24, 2003 at 04:38:30PM +0100, Jeremy Sanders wrote:
>when it tries to build the rpm. The spec file generated mentions the
>"python" executable rather than "python2", so rpm tries to run setup.py
>with python rather than python2.

According to "python2 setup.py bdist_rpm --help":

     --python             path to Python interpreter to hard-code in the .spec
                            file (default: "python")

So, "python2 setup.py bdist_rpm --python=python2"?

Sean
-- 
 Find out just what any people will quietly submit to and you have the exact
 measure of the injustice and wrong which will be imposed on them. -- T.J.
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995.  Qmail, Python, SysAdmin





More information about the Python-list mailing list