New submission from John5342 <[EMAIL PROTECTED]>: When using bdist_rpm the %build section of the generated spec file contains the following:
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build This works fine until the python is installed using altinstall. In this situation the spec file will use the default python rather than the one currently used. I am currently using python3.0 with the default python being 2.5. As a result the spec file is created which then calles python (2.5) and my setup.py contains 3.0 code so the spec file fails. When the above line is generated it should use the current interpreters path and name rather than just "python" ---------- components: Distutils messages: 76596 nosy: John5342 severity: normal status: open title: bdist_rpm assumes python type: behavior versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4459> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com