diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-04-29 01:28:10 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-04-28 23:03:45 +0300 |
commit | 9763bf65c6285176b578de71b0c3b8c14c72fdf2 (patch) | |
tree | 3d6c6846176700e0c48d49f7931cbed1773dade0 /README.md | |
parent | b983d091e66aad076385c283241f9bf03fe05839 (diff) | |
download | meson-9763bf65c6285176b578de71b0c3b8c14c72fdf2.zip meson-9763bf65c6285176b578de71b0c3b8c14c72fdf2.tar.gz meson-9763bf65c6285176b578de71b0c3b8c14c72fdf2.tar.bz2 |
README: Don't recommend using as a standalone script
zipapp only has a single entry point, so only the `meson` command will
work. `mesontest`, `mesonconf`, `mesonintrospect` won't, which is
terrible, really.
Ideally we should have a single entry point for all these instead, but
until that happens, we should not recommend zipapps.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -29,21 +29,6 @@ pip will download the package automatically). The exact command to type to install with pip can very between systems, be sure to use the Python 3 version of pip. -#### Creating a standalone script - -Meson can be run as a [Python zip -app](https://docs.python.org/3/library/zipapp.html). To generate the -executable run the following command: - - python3 -m zipapp -p '/usr/bin/env python3' -m meson:main -o meson <source checkout> - -Note that the source checkout may not be `meson` because it would -clash with the generated binary name. - -This will zip all files inside the source checkout into the script -which includes hundreds of tests, so you might want to temporarily -remove those before running it. - #### Running Meson requires that you have a source directory and a build directory |