[issue8577] test_distutils fails if srcdir != builddir
Ronald Oussoren
report at bugs.python.org
Fri Apr 30 13:27:58 CEST 2010
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
get_config_var('srcdir') should work, with should then be combined with the path to the Makefile, something like:
os.path.join(
os.path.dirname(os.path.abspath(
_get_makefile_filename(), get_config_var('srcdir')))
The path.join is necessary because srcdir is most likely a relative path (in my example the value is 'srcdir')
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8577>
_______________________________________
More information about the Python-bugs-list
mailing list