diff options
author | Micah Lee <micah@micahflee.com> | 2016-09-04 20:14:04 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2016-09-04 20:14:04 -0700 |
commit | 0ad1311dd576ec3af8309a2a1429603c429be487 (patch) | |
tree | c4ed6cc15db9e0e29972d1ece452a2b2d8862703 /BUILD.md | |
parent | 52ef78a00798639e18844d8e4b69efc0aa69ea26 (diff) | |
download | onionshare-0ad1311dd576ec3af8309a2a1429603c429be487.tar.gz onionshare-0ad1311dd576ec3af8309a2a1429603c429be487.zip |
Update Windows build instructions
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -98,7 +98,11 @@ Download the latest Python 3.5.x, 32-bit (x86) from https://www.python.org/downl Download and install Qt5 from https://www.qt.io/download-open-source/. I downloaded `qt-unified-windows-x86-2.0.3-1-online.exe`. There's no need to login to a Qt account during installation. Make sure you install the latest Qt 5.x. -Installing cx_Freeze with support for python 3.5 is annoying. Here are the steps (thanks https://github.com/sekrause/cx_Freeze-Wheels): +Open a command prompt and install dependencies with pip: `pip install pypiwin32 flask stem PyQt5` + +Download and install the [Microsoft Visual C++ 2008 Redistributable Package (x86)](http://www.microsoft.com/en-us/download/details.aspx?id=29). + +Installing cx_Freeze with support for Python 3.5 is annoying. Here are the steps (thanks https://github.com/sekrause/cx_Freeze-Wheels): * Download and install the Visual C++ Build Tools 2005 from http://go.microsoft.com/fwlink/?LinkId=691126. I downloaded `visualcppbuildtools_full.exe`. * Install the python wheel package: `pip install wheel` @@ -106,10 +110,6 @@ Installing cx_Freeze with support for python 3.5 is annoying. Here are the steps * Build the package: `python setup.py bdist_wheel` * Install it with pip: `pip install dist\cx_Freeze-5.0-cp35-cp35m-win32.whl` -Open a command prompt and install dependencies with pip: `pip install pypiwin32 flask stem PyQt5` - -Download and install the [Microsoft Visual C++ 2008 Redistributable Package (x86)](http://www.microsoft.com/en-us/download/details.aspx?id=29). - If you want to build the installer: * Go to http://nsis.sourceforge.net/Download and download the latest NSIS. I downloaded `nsis-3.0-setup.exe`. @@ -129,7 +129,7 @@ If you want to sign binaries with Authenticode: ### To make a .exe: -* Open a command prompt, cd into the onionshare directory, and type: `pyinstaller install\pyinstaller.spec -y`. `onionshare.exe` and all of its supporting files will get created inside the `dist\onionshare` folder. +* Open a command prompt, cd into the onionshare directory, and type: `python setup.py build`. `onionshare.exe`, `onionshare-gui.exe`, and all of their supporting files will get created inside the `build\exe.win32-3.5` folder. ### To build the installer: |