[Distutils] executable egg & top-level __main__.py: SOLVED
Paul Moore
p.f.moore at gmail.com
Fri Jun 19 22:34:10 CEST 2015
On 19 June 2015 at 21:24, Dimitri Maziuk <dmaziuk at bmrb.wisc.edu> wrote:
> 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.
That's not a bad idea. It should be possible to do this as a
setuptools extension (much as wheel provides the bdist_wheel command).
It should probably be bdist_pyz (and produce a file with the .pyz
extension) for PEP 441 compatibility.
It could then be distributed as a project on PyPI to save everyone
else reinventing the wheel, as you say.
Paul
More information about the Distutils-SIG
mailing list