[Distutils] executable egg & top-level __main__.py: SOLVED

Dimitri Maziuk dmaziuk at bmrb.wisc.edu
Fri Jun 19 22:24:30 CEST 2015

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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150619/e8948ca6/attachment.sig>

More information about the Distutils-SIG mailing list