Richard Oudkerk added the comment:

If sysconfig._generate_posix_vars() creates the build directory and 
pybuilddir.txt (instead of setup.py) then it could write _sysconfigdata.py in 
the correct place.  Then setup.py would not have to mess with its own sys.path.

One issue with having _sysconfigdata.py in the build dir is that distutils 
copies it (along with everything else in the build dir) to 
.../lib/python3.x/lib-dynload.  So I think Matthias' patch results in two 
copies of _sysconfigdata.py being installed (plus 
__pycache__/_sysconfigdata.pyc).

----------
nosy: +sbt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15298>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to