Skip to content

Commit e658d52

Browse files
committed
make the mac development installation instructions executable
This commit was sponsored by Jason Mills, VM (Vicky) Brasseur, Greg Back, and my other patrons. If you want to join them, you can support my work at https://glyph.im/patrons/.
1 parent 9af1e26 commit e658d52

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ to find something simple to contribute! In order to run it, make sure you have
7575
Xcode installed (like [actual, for-real
7676
Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12), not the
7777
command-line tools; this is a GUI, not a command-line thing, so you need the
78-
GUI development tools) make a virtualenv, `pip install -Ur requirements.txt`,
79-
and then run `./runme`.
78+
GUI development tools) make a virtualenv however you prefer to do that, run
79+
`./mac-dev-install`, and then run `./runme`.
8080

8181
Note that if you really want to keep using the app, `./testme` creates a
8282
different test bundle so you can run through some quick, fake test pomodoros

mac-dev-install

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash -ex
2+
3+
if [ -z "${VIRTUAL_ENV}" ]; then
4+
echo "Please make and activate a venv with your preferred tool, such as 'python -m venv ~/pom-venv; . ~/pom-venv/bin/activate' first."
5+
exit 1;
6+
fi;
7+
8+
pip install \
9+
--upgrade \
10+
--requirement ./requirements.txt \
11+
--requirement ./dev-requirements.txt \
12+
--requirement ./macOS-gui.requirements.txt \
13+
--editable .

0 commit comments

Comments
 (0)