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 tarek
Recipients tarek
Date 2008-03-18.10:24:32
SpamBayes Score 0.12992884
Marked as misclassified No
Message-id <1205835874.17.0.090976046813.issue2385@psf.upfronthosting.co.za>
In-reply-to
Content
When calling run_setup, the execfile does not set the __file__ global
variable, that is often used in setup.py modules (for instance to load a
text file from the package to be used in the long_description)

This patch adds this global variable so it does not fail. 

No test provided (distutils would need a test_core.py). 

I could work on some tests, but the previous test_* files I have added
are not in yet, so i'd rather wait for that before proposing new tests
modules.
History
Date User Action Args
2008-03-18 10:24:34tareksetspambayes_score: 0.129929 -> 0.12992884
recipients: + tarek
2008-03-18 10:24:34tareksetspambayes_score: 0.129929 -> 0.129929
messageid: <1205835874.17.0.090976046813.issue2385@psf.upfronthosting.co.za>
2008-03-18 10:24:33tareklinkissue2385 messages
2008-03-18 10:24:32tarekcreate