Trent Nelson added the comment:

That last commit fixes in-tree builds, but broke out-of-tree builds.  I've 
refactored the patch (sysconfig.py.patch) to fix the issue, but it's getting 
progressively more hacky, so I wanted to see what other people think before 
proceeding.

(That being said, it works a *lot* better than the previous solution of writing 
_sysconfigdata.py to the root builddir, then moving it.  That didn't work at 
all for out-of-tree builds.  This solution slots _sysconfigdata directly into 
sys.modules, which _init_posix() is more than happy with.)

----------
Added file: http://bugs.python.org/file27601/sysconfig.py.patch

_______________________________________
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