diff options
author | Micah Lee <micah@micahflee.com> | 2016-09-04 19:21:09 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2016-09-04 19:21:09 -0700 |
commit | db9d81ba90b8a41f2b52292c80d55df53d66a648 (patch) | |
tree | f3d4ae9741aaffd5b2cb661d05f01a3805152a67 /BUILD.md | |
parent | 79938e9518c4584e8ee3a660869ddaa91d34dc42 (diff) | |
download | onionshare-db9d81ba90b8a41f2b52292c80d55df53d66a648.tar.gz onionshare-db9d81ba90b8a41f2b52292c80d55df53d66a648.zip |
Migrate from PyInstaller to cx_Freeze for OSX
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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`. |