On 06/19/2015 03:43 PM, Daniel Holth wrote:
> Don't worry about it.
> 
> FYI the .egg-info (or .dist-info) cruft is necessary if you want to use
> certain setuptools features including console_scripts. Without metadata
> your module will be importable, but pkg_resources won't be able to tell
> that your distribution is available.

Even easier then: a bdist_zip target that automagically adds
py_modules=["__main__"] and saves the file with extension .pyz instead
of .egg.

I'm not worried about a few extra bytes and besides I might want to use
pkg_resourced data files inside the .pyz some day so I'd rather keep at
least that part of it anyway.

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to