Ronald Oussoren <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue8577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com