diff options
author | Micah Lee <micah@micahflee.com> | 2017-02-21 14:10:44 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2017-02-21 14:10:44 -0800 |
commit | e80b775bf6730ecbec6507e24303b91d1d8e7403 (patch) | |
tree | c5c1e4e94234bcf79df015d2beaae007612d2601 /BUILD.md | |
parent | 90a11d730ae7b8486ac0b7198ff569594214ce36 (diff) | |
download | onionshare-e80b775bf6730ecbec6507e24303b91d1d8e7403.tar.gz onionshare-e80b775bf6730ecbec6507e24303b91d1d8e7403.zip |
Update macOS build instructions, and install pip deps from a requirements.txt
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 22 |
1 files changed, 5 insertions, 17 deletions
@@ -34,29 +34,17 @@ For ArchLinux: There is a PKBUILD available [here](https://aur.archlinux.org/pac Install Xcode from the Mac App Store. Once it's installed, run it for the first time to set it up. -If you don't already have it installed, install [Homebrew](http://brew.sh/). +Download and install Python 3.5.2 from https://www.python.org/downloads/release/python-352/ (note that a pyinstaller bug prevents you from using Python 3.6). I downloaded `python-3.5.2-macosx10.6.pkg`. -Install some dependencies using Homebrew: +Download and install Qt 5.7.1 for macOS offline installer from https://www.qt.io/download-open-source/. I downloaded `qt-opensource-mac-x64-clang-5.7.1.dmg`. (You can skip making an account in the installer.) -```sh -brew install python3 pyqt5 qt5 -``` - -Set up a virtual env (`sudo pip3 install virtualenv` if you don't have it installed): - -```sh -$ virtualenv env -$ . env/bin/activate -(env) pip3 install -r install/requirements.txt -``` - -Install some dependencies using pip3: +Now install some python dependencies with pip (note, there's issues building a .app if you install this in a virtualenv): ```sh -sudo pip3 install flask stem pyinstaller +sudo pip3 install -r install/requirements.txt ``` -After that you can try both the CLI and the GUI version of OnionShare: +You can run both the CLI and GUI versions of OnionShare without building an bundle: ```sh ./dev_scripts/onionshare |