summaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-01-26 23:06:21 -0800
committerMicah Lee <micah@micahflee.com>2019-01-26 23:06:21 -0800
commit6ed63143df1aeb3aedd06a1f459f49437993816b (patch)
tree0a8f13f5464a23616d4f71346faf0f9e5924c6b3 /BUILD.md
parentb85c75b79b508a6b89ab1848267aeb2a31d6fef0 (diff)
downloadonionshare-6ed63143df1aeb3aedd06a1f459f49437993816b.tar.gz
onionshare-6ed63143df1aeb3aedd06a1f459f49437993816b.zip
Remove PyInstaller from requirements.txt, because it now breaks CircleCI
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/BUILD.md b/BUILD.md
index 34435633..b01faaf1 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -56,6 +56,7 @@ Now install some python dependencies with pip (note, there's issues building a .
```sh
pip3 install -r install/requirements.txt
+pip3 install PyInstaller==3.4
```
#### You can run both the CLI and GUI versions of OnionShare without building an bundle
@@ -121,7 +122,11 @@ Add the following directories to the path:
#### If you want the .exe to not get falsely flagged as malicious by anti-virus software
-OnionShare uses PyInstaller to turn the python source code into Windows executable `.exe` file. Apparently, malware developers also use PyInstaller, and some anti-virus vendors have included snippets of PyInstaller code in their virus definitions. To avoid this, you have to compile the Windows PyInstaller bootloader yourself instead of using the pre-compiled one that comes with PyInstaller. Here's how:
+OnionShare uses PyInstaller to turn the python source code into Windows executable `.exe` file. Apparently, malware developers also use PyInstaller, and some anti-virus vendors have included snippets of PyInstaller code in their virus definitions. To avoid this, you have to compile the Windows PyInstaller bootloader yourself instead of using the pre-compiled one that comes with PyInstaller.
+
+(If you don't care about this, you can install PyInstaller with `pip install PyInstaller==3.4`.)
+
+Here's how to compile the PyInstaller bootloader:
Download and install [Microsoft Build Tools for Visual Studio 2017](https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017). I downloaded `vs_buildtools.exe`. In the installer, check the box next to "Visual C++ build tools". Click "Individual components", and under "Compilers, build tools and runtimes", check "Windows Universal CRT SDK". Then click install. When installation is done, you may have to reboot your computer.
@@ -138,7 +143,7 @@ Make sure you have a new enough `setuptools`:
pip install setuptools==40.6.3
```
-Now uninstall PyInstaller from pip:
+Now make sure you don't have PyInstaller installed from pip:
```
pip uninstall PyInstaller