[issue3984] python interpreter import dependency with disutils/util

Tarek Ziadé report at bugs.python.org
Sun Sep 28 15:36:06 CEST 2008


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

Ok thanks, I could make it work by removing the call to 

distutils.util.get_platform() in site.addbuilddir()

and harcode the name of my platform there,

Maybe a solution would be to :

* move get_platform out of distutils.util
* move sysconfig out of distutils as well

and to create a sysconfig module at the root of Lib/ that doesn't 
depend on any other module besides os and sys.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3984>
_______________________________________


More information about the Python-bugs-list mailing list