This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients ncoghlan, serhiy.storchaka, vinay.sajip
Date 2012-12-20.14:18:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356013081.23.0.884077461212.issue16737@psf.upfronthosting.co.za>
In-reply-to
Content
I'd use runpy.run_path if I could, but it's not available on Python 2.6 - that's why I'm using run_module.

A lot of setup.py files out there use __file__ to compute additional package names, package data locations etc. - this can lead to bogus package names computed blindly from paths assumed to be relative, when the setup.py file is run using run_module. I'm not sure what you mean when you say "looks consistent" - ISTM there is a difference, i.e. inconsistency, between a direct run and a run via run_module.
History
Date User Action Args
2012-12-20 14:18:01vinay.sajipsetrecipients: + vinay.sajip, ncoghlan, serhiy.storchaka
2012-12-20 14:18:01vinay.sajipsetmessageid: <1356013081.23.0.884077461212.issue16737@psf.upfronthosting.co.za>
2012-12-20 14:18:01vinay.sajiplinkissue16737 messages
2012-12-20 14:18:01vinay.sajipcreate