Re: making it feasible to rely on loaders for reading intra-package data files

PJ Eby <[email protected]> Fri, 7 Feb 2014 11:27:48 -0500
Newsgroups gmane.comp.python.import
Message-ID <CALeMXf4+74svitvnMEsQ3R1_OcDODBph-73y576_NomiD7kUNw@mail.gmail.com>
On Fri, Feb 7, 2014 at 9:59 AM, Nick Coghlan <[email protected]> wrote:
> We currently hack around the limitation by using "python -c" to bypass
> the normal script wrappers for the affected tools, but it's
> tremendously ugly.

Can you explain the use cases in more detail?  It sort of sounds like
there ought to be a way for pkg_resources to support this better, at
least in conjunction with the code that generates script wrappers.
(Of course, that should maybe be in a different thread.)