[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Tools/scripts pydoc,NONE,1.1

Neil Schemenauer nas@arctrix.com
Fri, 2 Mar 2001 07:03:00 -0800


On Fri, Mar 02, 2001 at 09:56:17AM -0500, Andrew Kuchling wrote:
> It already does this for regular distributions (see build_scripts.py),
> but running with a newly built Python causes problems; it uses
> sys.executable, which results in '#!python' at build time.  I'm not
> sure how to fix this; perhaps the Makefile should always set a
> BUILDING_PYTHON environment variable, and the Distutils could check
> for its being set.  

setup.py fix this by assigning sys.executable to $(prefix)/bin/python
before installing.  I don't know if that would break anything
else though.

  Neil