[Distutils] executable egg & top-level __main__.py: SOLVED
dholth at gmail.com
Fri Jun 19 22:43:13 CEST 2015
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.
On Fri, Jun 19, 2015 at 4:24 PM Dimitri Maziuk <dmaziuk at bmrb.wisc.edu>
> On 06/19/2015 02:57 PM, Paul Moore wrote:
> ... if
> > you want a single-file executable, you should be using zipapp (the
> > zipapp module is new in 3.5, but zipping up the correct directory
> > structure has been supported for ages).
> You're right, I don't really need the egg format for what I'm doing.
> However, setuptools + setup.py is a familiar idiom like make + Makefile
> or ant + build.xml.
> So add a bdist_zip target and have it output a .zip without egg-info
> cruft instead of making people like me reinvent the wheel every !@#$ing
> time. Even if the wheel is as simple as piping glob.glob into a zipfile
> -- which it never is IRL.
> Dimitri Maziuk
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG