[Pkg-privacy-commits] [onionshare] 78/256: Update macOS build instructions, and install pip deps from a requirements.txt
Ulrike Uhlig
ulrike at moszumanska.debian.org
Fri May 26 12:53:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
ulrike pushed a commit to branch master
in repository onionshare.
commit e80b775bf6730ecbec6507e24303b91d1d8e7403
Author: Micah Lee <micah at micahflee.com>
Date: Tue Feb 21 14:10:44 2017 -0800
Update macOS build instructions, and install pip deps from a requirements.txt
---
BUILD.md | 22 +++++-----------------
install/requirements.txt | 2 ++
2 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/BUILD.md b/BUILD.md
index 31f36e8..a0ca80c 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -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
diff --git a/install/requirements.txt b/install/requirements.txt
index 4137c61..9788289 100644
--- a/install/requirements.txt
+++ b/install/requirements.txt
@@ -4,5 +4,7 @@ itsdangerous==0.24
Jinja2==2.9.2
MarkupSafe==0.23
PyInstaller==3.2
+PyQt5==5.7.1
+sip==4.19
stem==1.5.4
Werkzeug==0.11.15
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git
More information about the Pkg-privacy-commits
mailing list