[Pkg-privacy-commits] [onionshare] 08/33: update build instructions for OSX to install python 2.x from python.org, which closes #75 and #187

Ximin Luo infinity0 at debian.org
Mon Oct 19 14:15:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository onionshare.

commit db75edf0a9e17a762a1db1e9ace2c2a7e13b9887
Author: Micah Lee <micah at micahflee.com>
Date:   Tue May 26 15:35:50 2015 -0400

    update build instructions for OSX to install python 2.x from python.org, which closes #75 and #187
---
 BUILD.md | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/BUILD.md b/BUILD.md
index 9ce6712..413b423 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -29,23 +29,30 @@ sudo yum install -y dist/onionshare-*.rpm
 
 ## Mac OS X
 
+Install the [latest python 2.x](https://www.python.org/downloads/) from python.org. If you use the built-in version of python that comes with OS X, your .app might not run on other people's computers.
+
 To install the right dependencies, you need homebrew and pip installed on your Mac. Follow instructions at http://brew.sh/ to install homebrew, and run `sudo easy_install pip` to install pip.
 
 The first time you're setting up your dev environment:
 
 ```sh
-git clone https://github.com/micahflee/onionshare.git
-cd onionshare
 echo export PYTHONPATH=\$PYTHONPATH:/usr/local/lib/python2.7/site-packages/ >> ~/.profile
 source ~/.profile
 brew install qt4 pyqt
 sudo pip install py2app flask stem
 ```
 
+Get the source code:
+
+```sh
+git clone https://github.com/micahflee/onionshare.git
+cd onionshare
+```
+
 To build the .app:
 
 ```sh
-python setup.py py2app
+install/build_osx.sh
 ```
 
 Now you should have `dist/OnionShare.app`.
@@ -53,7 +60,7 @@ Now you should have `dist/OnionShare.app`.
 To codesign and build a .pkg for distribution:
 
 ```sh
-./install/build_osx.sh
+install/build_osx.sh --sign
 ```
 
 Now you should have `dist/OnionShare.pkg`.

-- 
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