Message169865
| Author |
sbt |
| Recipients |
Arfrever, doko, eric.araujo, georg.brandl, ned.deily, pitrou, sbt |
| Date |
2012年09月05日.10:55:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1346842503.06.0.268118700396.issue15298@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|