Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit f353e6b

Browse files
author
Blackstone Engineering
committed
adding stubs for final phase of development
1 parent 35b0b44 commit f353e6b

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CreateInstaller.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MBED_LS_VERSION="1.3.7"
66
MBED_GREENTEA_VERSION="1.3.3"
77
MBED_HOST_TEST_VERSION="1.3.1"
88
MBED_GIT_URL="TODO"
9-
MBED_HG_URL="TODO"
9+
MBED_HG_URL="https://www.mercurial-scm.org/mac/binaries/Mercurial-4.5-macosx10.12.pkg"
1010
# ------ DO NOT MODIFY BELOW HERE -----------
1111

1212
# Download and extract git
@@ -15,6 +15,13 @@ MBED_HG_URL="TODO"
1515
# copy git files here : todo :
1616

1717
# TODO: Download and extract Mercurial
18+
# https://www.mercurial-scm.org/mac/binaries/Mercurial-4.5-macosx10.12.pkg
19+
# unzip
20+
# cd mercurial.pkg
21+
# tar xcf Payload
22+
# cp hg /bin
23+
# cp chg /bin
24+
#Change shebang on both to use `#!/usr/bin/env python`
1825

1926
# # create Virtual Environment
2027
# python -m virtualenv ./venv
@@ -31,10 +38,16 @@ pip install -U mbed-host-tests==MBED_HOST_TEST_VERSION
3138
pip install -U pyserial
3239
pip install -U elftools
3340
pip install -U fuzzywuzzy
41+
pip install -U mercurial
42+
3443

3544
# #exit Virtual Env
3645
# deactivate
3746

3847
# build .APP
3948
chmod 777 ./run-mbed-cli.sh
4049
python setup.py py2app
50+
51+
52+
# Create DMG from .app
53+
# hdiutil create -fs HFS+ -srcfolder ./dist/MBED_CLI_v0.0.1.app -volname MBED_CLI_v0.0.1 mbed-cli-v0.0.1.dmg

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@ Right, here are some suggestions
4343
3) Cannot find packages, getting an error like 'UserWarning: No package named mbed-cli' when trying to build. Solution : the site packages found by Py2app does not contain the modules. Try copying things from the Brew site-packages to your system-python site-packages.
4444

4545

46+
--------
47+
# Planned Updates
48+
- update `CreateInstaller.sh` to install python packages from pip directly to install directory instead of installing to the computer
49+
4650

0 commit comments

Comments
 (0)