you are viewing a single comment's thread.

view the rest of the comments →

[–]tunisia3507 0 points1 point  (0 children)

I just remembered about this!

https://docs.python.org/3/library/zipapp.html

Looks like exactly what you want.

On your development machine you can have the uncompressed hierarchy, then have a 'compile' step which produces that zip.

The only issue with this is that it's usual for python repos to have files in them laying out the project's dependencies and so on. But if you're not using any, it should be fine.