diff options
author | Micah Lee <micah@micahflee.com> | 2017-01-07 18:17:02 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2017-01-07 18:17:02 -0800 |
commit | b7e9bed65aaaad3bbdcbb0301fe270e1f7522e63 (patch) | |
tree | 20127319520b5a0aa1622a3724ea87b595a2790e /BUILD.md | |
parent | f922be8ce8b16c605432d55172fb928cd953a1b4 (diff) | |
download | onionshare-b7e9bed65aaaad3bbdcbb0301fe270e1f7522e63.tar.gz onionshare-b7e9bed65aaaad3bbdcbb0301fe270e1f7522e63.zip |
Use a virtualenv, and put pip deps in requirements.txt
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -42,6 +42,14 @@ Install some dependencies using Homebrew: 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: ```sh @@ -77,7 +85,12 @@ Now you should have `dist/OnionShare.pkg`. Download the latest Python 3.6.x, 32-bit (x86) from https://www.python.org/downloads/. I downloaded `python-3.6.0.exe`. When installing it, make sure to check the "Add Python 3.6 to PATH" checkbox on the first page of the installer. -Open a command prompt and install dependencies with pip: `pip install flask stem PyQt5 pyinstaller` +Open a command prompt and install dependencies with pip: + +```cmd +pip install -r install\requirements.txt +pip install -r install\requirements-windows.txt +``` Download and install Qt5 from https://www.qt.io/download-open-source/. I downloaded `qt-unified-windows-x86-2.0.4-online.exe`. There's no need to login to a Qt account during installation. Make sure you install the latest Qt 5.x. I installed Qt 5.7. |