diff options
Diffstat (limited to 'docs/markdown/Getting-meson.md')
-rw-r--r-- | docs/markdown/Getting-meson.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/Getting-meson.md b/docs/markdown/Getting-meson.md index 23f11ee..ec6f1c6 100644 --- a/docs/markdown/Getting-meson.md +++ b/docs/markdown/Getting-meson.md @@ -21,6 +21,17 @@ we strive to ensure that it will always be working and usable. All commits go through a pull-request process that runs CI and tests several platforms. +### Packing Meson into a zipapp + +After downloading the release, you can create a standalone single-file +executable for Meson by running the script: + +``` +./packaging/create_zipapp.py --outfile meson.pyz --interpreter '/usr/bin/env python3' <source checkout> +``` + +This uses python's native support for [zipapp]. + ## Installing Meson with pip Meson is available in the [Python Package Index] and can be installed @@ -92,6 +103,7 @@ provide Python 3. Use either `mingw32/mingw-w64-i686-python3` or are building for. [GitHub release page]: https://github.com/mesonbuild/meson/releases + [zipapp]: https://docs.python.org/3/library/zipapp.html [Python Package Index]: https://pypi.python.org/pypi/meson/ [Git]: https://github.com/mesonbuild/meson [Python's home page]: https://www.python.org/downloads/ |