[issue2385] run_setup can fail if the setup script uses __file__

Tarek Ziadé report at bugs.python.org
Sat Mar 22 15:59:25 CET 2008


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

new patch that adds __main__ and __file__, and make a chdir, so the
function is called in a realistic way.

this patch also adds test_core.py for this change.

Added file: http://bugs.python.org/file9811/2008-03-28-distutils.core.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2385>
__________________________________


More information about the Python-bugs-list mailing list