summaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2016-09-04 19:21:09 -0700
committerMicah Lee <micah@micahflee.com>2016-09-04 19:21:09 -0700
commitdb9d81ba90b8a41f2b52292c80d55df53d66a648 (patch)
treef3d4ae9741aaffd5b2cb661d05f01a3805152a67 /BUILD.md
parent79938e9518c4584e8ee3a660869ddaa91d34dc42 (diff)
downloadonionshare-db9d81ba90b8a41f2b52292c80d55df53d66a648.tar.gz
onionshare-db9d81ba90b8a41f2b52292c80d55df53d66a648.zip
Migrate from PyInstaller to cx_Freeze for OSX
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/BUILD.md b/BUILD.md
index 87274958..05122859 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -62,9 +62,15 @@ brew install python3 pyqt5 qt5
Install some dependencies using pip3:
```sh
-sudo pip3 install pyinstaller flask stem
+sudo pip3 install flask stem
```
+Install the latest development version of cx_Freeze:
+
+* Download a [snapshot](https://bitbucket.org/anthony_tuininga/cx_freeze/downloads) of the latest development version of cx_Freeze, extract it, and cd into the folder you extracted it to
+* Build the package: `python3 setup.py bdist_wheel`
+* Install it with pip: `sudo pip3 install dist/cx_Freeze-5.0-cp35-cp35m-macosx_10_11_x86_64.whl`
+
Get the source code:
```sh
@@ -83,7 +89,7 @@ Now you should have `dist/OnionShare.app`.
To codesign and build a .pkg for distribution:
```sh
-install/build_osx.sh --sign
+install/build_osx.sh --release
```
Now you should have `dist/OnionShare.pkg`.