Author vstinner
Recipients brett.cannon, eric.araujo, ezio.melotti, r.david.murray, vstinner
Date 2013-04-18.22:42:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366324973.01.0.670258898008.issue17177@psf.upfronthosting.co.za>
In-reply-to
Content
If the imp module is marked as deprecated, it would help to explain how to port code from imp to importlib. As it was done for os.spawn(), platform.popen(), etc.

I'm using imp.load_source() in my setup.py to load a version.py file which only contains constants, to be able to build my module even if executing the module fails (ex: because of a runtime dependency). I don't know how to change my code to use imp.load_source().
History
Date User Action Args
2013-04-18 22:42:53vstinnersetrecipients: + vstinner, brett.cannon, ezio.melotti, eric.araujo, r.david.murray
2013-04-18 22:42:53vstinnersetmessageid: <1366324973.01.0.670258898008.issue17177@psf.upfronthosting.co.za>
2013-04-18 22:42:52vstinnerlinkissue17177 messages
2013-04-18 22:42:52vstinnercreate