[Distutils] bdist_rpm with different python version
aaron.brice at gmail.com
Wed Mar 24 20:01:48 CET 2010
I am working on a RHEL5 system with python 2.4 installed as
/usr/bin/python and python 2.6 installed as /usr/bin/python2.6.
When I run "python2.6 setup.py install" in a module it generally does
the right thing and installs to /usr/lib/python2.6/site-packages/. So
I want to generate a rpm to deploy the module, but "python2.6 setup.py
bdist_rpm" does not do the right thing, the .spec file generated uses
"python" and not "python2.6" and the resulting rpm installs to
Is there a way to override this behavior?
More information about the Distutils-SIG