Warehouse: Add PYZ Upload

Created on 9 Apr 2018  路  6Comments  路  Source: pypa/warehouse

  • Add the possibility to Upload *.PYZ, made using std lib zipapp.create_archive().
feature request needs discussion

All 6 comments

Thanks for your suggestion, @juancarlospaco! I don't know what work would be necessary in order for the Python Package Index to support zipapp archives alongside source distributions and wheels -- the distutils-sig mailing list might be a good place to discuss what other parts of the toolchain might need to also add functionality in order to upload or manage these archives.

First thanks for taking the option into consideration.

I know that PYPI has been changing and deprecating compressed file formats some time ago,
I think you can only upload ZIP now, in the past it can upload TAR.GZ, TAR, etc

@juancarlospaco I need to correct you -- right now, a person can upload a wheel or a source distribution (sdist) to PyPI. Please see https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project for more details.

I don't know whether PyPI's maintainers will choose to implement .pyz support at all, or anytime soon (we need to discuss it, so I've labelled this issue with "needs discussion"). I'd like to get more information.

Are you a packager of a project whose users want to download and install .pyz files? And how does the size of a .pyz file compare to an sdist or a wheel for the same project?

I'm grateful that you brought this idea to our attention -- I look forward to getting more info. :)

About Size is kinda *.pyz == *.zip of the sdist, its a Zip anyways.

Hi @juancarlospaco -- could I ask why you closed this? Thanks!

Was this page helpful?
0 / 5 - 0 ratings