summaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2016-09-04 19:36:56 -0700
committerMicah Lee <micah@micahflee.com>2016-09-04 19:36:56 -0700
commit3f1180c404082ce9d8cdcd70071b4594a60727a6 (patch)
treea35e3c9f76ec7417d090327fbe2869720b484c3b /BUILD.md
parent6ec5c15a0aafbc71986f4a9160e564d145e899ec (diff)
downloadonionshare-3f1180c404082ce9d8cdcd70071b4594a60727a6.tar.gz
onionshare-3f1180c404082ce9d8cdcd70071b4594a60727a6.zip
Add instructions for installing cx_Freeze in Windows, and add cx_Freeze support to setup.py for Windows
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/BUILD.md b/BUILD.md
index 4027a32d..971bdb8a 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -98,7 +98,15 @@ 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.
-Open a command prompt and install some dependencies with pip: `pip install pyinstaller==3.1.1 pypiwin32 flask stem PyQt5`
+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`
+* 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: `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).