[Python-Dev] Detecting install time

Guido van Rossum guido@python.org
Mon, 15 Jan 2001 22:47:32 -0500

> For PEP 229, the setup.py script needs to figure out if it's running
> from the build directory, because then distutils.sysconfig needs to
> look at different config files; ./Modules/Makefile instead of
> /usr/lib/python2.0/config/Makefile, and so forth.  Is there a
> simple/clean way to do this?

You could check for the presence of config.status -- that file is not

--Guido van Rossum (home page: http://www.python.org/~guido/)