[Python-Dev] Detecting install time

A.M. Kuchling akuchlin@mems-exchange.org
Mon, 15 Jan 2001 22:03:31 -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?