diff options
-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', |