diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-03-02 21:49:29 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-03-02 21:49:29 +0200 |
commit | 455e55f8e51c328400c36d65a15d76e7c4be08eb (patch) | |
tree | 9c24b72729009a4f9fbeb9eb15ee79795639d348 | |
parent | 52b66edb6cfb891e3a6b8c18d50d98e98dd100ec (diff) | |
download | meson-455e55f8e51c328400c36d65a15d76e7c4be08eb.zip meson-455e55f8e51c328400c36d65a15d76e7c4be08eb.tar.gz meson-455e55f8e51c328400c36d65a15d76e7c4be08eb.tar.bz2 |
Back to .py suffix in files. Closes #394.
-rwxr-xr-x | meson.py (renamed from meson) | 0 | ||||
-rwxr-xr-x | mesonconf.py (renamed from mesonconf) | 0 | ||||
-rwxr-xr-x | mesongui.py (renamed from mesongui) | 0 | ||||
-rwxr-xr-x | mesonintrospect.py (renamed from mesonintrospect) | 0 | ||||
-rwxr-xr-x | run_tests.py | 4 | ||||
-rw-r--r-- | setup.py | 6 | ||||
-rwxr-xr-x | wraptool.py (renamed from wraptool) | 0 |
7 files changed, 9 insertions, 1 deletions
diff --git a/mesonintrospect b/mesonintrospect.py index 4d20548..4d20548 100755 --- a/mesonintrospect +++ b/mesonintrospect.py diff --git a/run_tests.py b/run_tests.py index e85a6d6..7e799cb 100755 --- a/run_tests.py +++ b/run_tests.py @@ -46,6 +46,10 @@ print_debug = 'MESON_PRINT_TEST_OUTPUT' in os.environ test_build_dir = 'work area' install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir') meson_command = os.path.join(os.getcwd(), 'meson') +if not os.path.exists(meson_command): + meson_command += '.py' + if not os.path.exists(meson_command): + raise RuntimeError('Could not find main Meson script to run.') class StopException(Exception): def __init__(self): @@ -37,7 +37,11 @@ setup(name='meson', 'mesonbuild.backend', 'mesonbuild.wrap'], package_data={'mesonbuild': ['*.ui']}, - scripts=['meson', 'mesonconf', 'mesongui', 'mesonintrospect', 'wraptool'], + scripts=['meson.py', + 'mesonconf.py', + 'mesongui.py', + 'mesonintrospect.py', + 'wraptool.py'], data_files=[('share/man/man1', ['man/meson.1', 'man/mesonconf.1', 'man/mesongui.1', |