Tarek Ziadé <ziade.ta...@gmail.com> added the comment:

This is a problem indeed. 

One solution would be to generate a module in the stdlib that contains
all these info, when configure is called.

as a matter of fact, I am currently working in a branch to add a module
called "sysconfig" to the stdlib, that contains installation paths
extracted from distutils/sysconfig and site.py, so the stdlib has only
one place to handle those.

This module will basically be the last spot to look for data in makefile
and pyconfig.h, so maybe we could inject in it a condensed version of
these files, in the form of a dict.

(I'll send a mail on python-dev about this)

----------

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

Reply via email to