summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-05-06 11:23:46 -0700
committerMicah Lee <micah@micahflee.com>2019-05-06 11:23:46 -0700
commite557133b0ac702c6f12c876cb21352cdeb702b9d (patch)
tree1856399dada0762059640bf19c30dfe88e736306
parent925cd4718798b80f82ff3c3fd1e4aaedaf3cc677 (diff)
downloadonionshare-e557133b0ac702c6f12c876cb21352cdeb702b9d.tar.gz
onionshare-e557133b0ac702c6f12c876cb21352cdeb702b9d.zip
Update macOS build instructions
-rw-r--r--.gitignore3
-rw-r--r--BUILD.md13
2 files changed, 13 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 12201adb..c7ad70de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,3 +48,6 @@ tags
# OSX
.DS_Store
+
+# virtualenv
+venv
diff --git a/BUILD.md b/BUILD.md
index d078da9b..c4a5c5e3 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -50,9 +50,16 @@ Download and install Python 3.7.2 from https://www.python.org/downloads/release/
You may also need to run the command `/Applications/Python\ 3.7/Install\ Certificates.command` to update Python 3.6's internal certificate store. Otherwise, you may find that fetching the Tor Browser .dmg file fails later due to a certificate validation error.
-Install Qt 5.11.3 from https://www.qt.io/download-open-source/. I downloaded `qt-unified-mac-x64-3.0.6-online.dmg`. In the installer, you can skip making an account, and all you need is `Qt` > `Qt 5.11.3` > `macOS`.
+Install Qt 5.12.1 from https://download.qt.io/archive/qt/5.12/5.12.1/. I downloaded `qt-opensource-mac-x64-5.12.1.dmg`. In the installer, you can skip making an account, and all you need is `Qt` > `Qt 5.12.1` > `macOS`.
-Now install some python dependencies with pip (note, there's issues building a .app if you install this in a virtualenv):
+Now install pip dependencies. If you want to use a virtualenv, create it and activate it first:
+
+```sh
+python3 -m venv venv
+. venv/bin/activate
+```
+
+Then install the dependencies:
```sh
pip3 install -r install/requirements.txt
@@ -100,7 +107,7 @@ cd bootloader
python3 waf distclean all --target-arch=64bit
```
-Finally, install the PyInstaller module into your local site-packages:
+Finally, install the PyInstaller module into your local site-packages. If you're using a virtualenv, make sure to run this last command while your virtualenv is activated:
```sh
cd ..