[Distutils] Problem with build_rpm

Andrew Kuchling akuchlin@mems-exchange.org
Wed Jun 13 14:15:00 2001


On Wed, Jun 13, 2001 at 03:36:40PM +0200, Juergen Hermann wrote:
>The problem here is that "python" is Python 1.5, and setup.py has a "#! 
>/usr/bin/env python2.1" bangpath, i.e. the call in the "+ env" line should 
>use "sys.executable", not a fixed "python" string.

It should do this if you specify the --fix-python option.  See the
code in Lib/distutils/commands/bdist_rpm.py for details.

--amk