[Python-Dev] Re: [Zope3-dev] Zip import and sys.path manipulation (was Re: directory hierarchy proposal)

Thomas Heller theller@python.net
16 Dec 2002 20:22:01 +0100


Just van Rossum <just@letterror.com> writes:

> FWIW, I think it's generally a bad idea to depend on module.__file__ and
> pkg.__path__ to find data files.
What would you suggest to do instead? There's now even such a case
in the standard library: distutils.command.bdist_wininst has
to find it's data-file 'wininst.exe'.

Thomas