[Distutils] How to handle launcher script importability?

Nick Coghlan ncoghlan at gmail.com
Sun Aug 11 23:13:49 CEST 2013

We actually have a proposal on import-sig to allow module specific
import path manipulation (including the ability to say "don't import
this module from this directory, even though it looks like it is
here"). I'd favour that mechanism over a new "not importable" file

If that doesn't make it into 3.4, the proposed zipapp extensions would
also serve a similar purpose, with some straightforward sys.path
manipulation in __main__.py (as PJE pointed out).


P.S. Has anyone heard from Daniel lately, or know if he's away? I
pinged him about getting the zipapp utility module PEP moving again a
couple of weeks ago and haven't heard anything back.

More information about the Distutils-SIG mailing list