Skip to content

Commit 63c9daa

Browse files
committed
Fix hardcoded 'python' call and use python_cmd var instead
Also bump version to 1.2.2
1 parent c2f7b06 commit 63c9daa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mbed/mbed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838

3939
# Application version
40-
ver = '1.2.1'
40+
ver = '1.2.2'
4141

4242
# Default paths to Mercurial and Git
4343
hg_cmd = 'hg'
@@ -2192,7 +2192,7 @@ def compile_(toolchain=None, target=None, profile=False, compile_library=False,
21922192
source = [os.path.relpath(program.path, orig_path)]
21932193

21942194
if supported:
2195-
popen(['python', '-u', os.path.join(tools_dir, 'make.py')]
2195+
popen([python_cmd, '-u', os.path.join(tools_dir, 'make.py')]
21962196
+ (['-S', supported] if supported else []) + (['-v'] if very_verbose else [])
21972197
+ (['--app-config', app_config] if app_config else [])
21982198
+ args,
@@ -2404,7 +2404,7 @@ def export(ide=None, target=None, source=False, clean=False, supported=False, ap
24042404
env = program.get_env()
24052405

24062406
if supported:
2407-
popen(['python', '-u', os.path.join(tools_dir, 'project.py')]
2407+
popen([python_cmd, '-u', os.path.join(tools_dir, 'project.py')]
24082408
+ (['-S', supported] if supported else []) + (['-v'] if very_verbose else []),
24092409
env=env)
24102410
return

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
name="mbed-cli",
21-
version="1.2.1",
21+
version="1.2.2",
2222
description="ARM mbed command line tool for repositories version control, publishing and updating code from remotely hosted repositories (GitHub, GitLab and mbed.org), and invoking mbed OS own build system and export functions, among other operations",
2323
long_description=LONG_DESC,
2424
url='http://github.com/ARMmbed/mbed-cli',

0 commit comments

Comments
 (0)