aboutsummaryrefslogtreecommitdiff
path: root/__main__.py
AgeCommit message (Collapse)AuthorFilesLines
2018-08-07Fix __main__.py for zipapp to workChristoph Burger-Scheidlin1-2/+2
0a035de removed main from meson.py breaking the call from __main__.py. This causes zipapps to fail, since the call to meson.main() fails. Copying the invocation from meson.py fixes this issue. Additionally, add a test to run_meson_command_tests.py that builds a zipapp from the source and attempts executing this zipapp with --help to ensure that the resulting zipapp is properly executable.
2016-10-10Reintroduce Python Zipapp supportFranz Zapata1-0/+20
* Added `main` function as an entry point. * Created `__main__.py` to allow the creation of Zipapps without explicitly calling `meson:main`.