Skip to content

Commit

Permalink
Back to .py suffix in files. Closes mesonbuild#394.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Mar 2, 2016
1 parent 52b66ed commit 455e55f
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def __init__(self, msg, stdo, stde, conftime=0, buildtime=0, testtime=0):
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):
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
'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',
Expand Down
File renamed without changes.

0 comments on commit 455e55f

Please sign in to comment.