[Distutils] executable egg & top-level __main__.py: SOLVED
dmaziuk at bmrb.wisc.edu
Fri Jun 19 22:24:30 CEST 2015
On 06/19/2015 02:57 PM, Paul Moore wrote:
> 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.
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: OpenPGP digital signature
More information about the Distutils-SIG