aboutsummaryrefslogtreecommitdiff
path: root/packaging/create_zipapp.py
AgeCommit message (Collapse)AuthorFilesLines
2022-05-16Add optional compressjoshcangit1-1/+2
Compress files under source directory using Deflate method. By default, files are not compressed in the archive. Compression is active only when this option is defined. https://docs.python.org/3/library/zipapp.html?highlight=zipapp#cmdoption-zipapp-c
2020-11-27Add script to create a zipapp.Eli Schwartz1-0/+22
Invoke create_zipapp.py from the root of the repository and it will create a minimal zipapp with only the mesonbuild module code and a __main__.py directly copied from meson.py The meson.py launcher already tracks the desired entry point, and its only other effect is to add the mesonbuild directory to the path if it exists, which it won't in the zipapp. So there's no need to duplicate this into another __main__.py