[tor-commits] [stem/master] Add OSX to our download page

atagar at torproject.org atagar at torproject.org
Wed May 6 16:12:27 UTC 2015


commit b9fe11ff09679ccce9a64ea49f018a69c8768e21
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed May 6 09:07:07 2015 -0700

    Add OSX to our download page
    
    Sambuddha looked into how Stem can be installed on OSX, and it's actually
    delightfully simple. No need for Homebrew...
    
      https://trac.torproject.org/projects/tor/ticket/8588
    
    Rather, the platform now comes with Python 2.7 by default so they can just use
    pip like other platforms.
    
    Slightly tweaking some of the other instructions to include 'sudo', and show
    using easy_install to get pip.
---
 docs/_static/label/osx.png            |  Bin 0 -> 1767 bytes
 docs/_static/label/resources/osx.xcf  |  Bin 0 -> 3820 bytes
 docs/_static/section/download/osx.png |  Bin 0 -> 3660 bytes
 docs/download.rst                     |   32 ++++++++++++++++++++++++--------
 4 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/docs/_static/label/osx.png b/docs/_static/label/osx.png
new file mode 100644
index 0000000..10e4180
Binary files /dev/null and b/docs/_static/label/osx.png differ
diff --git a/docs/_static/label/resources/osx.xcf b/docs/_static/label/resources/osx.xcf
new file mode 100644
index 0000000..5eab942
Binary files /dev/null and b/docs/_static/label/resources/osx.xcf differ
diff --git a/docs/_static/section/download/osx.png b/docs/_static/section/download/osx.png
new file mode 100644
index 0000000..bb9caca
Binary files /dev/null and b/docs/_static/section/download/osx.png differ
diff --git a/docs/download.rst b/docs/download.rst
index cac296a..4407fab 100644
--- a/docs/download.rst
+++ b/docs/download.rst
@@ -7,6 +7,11 @@ Download
      Source: http://www.python.org/community/logos/
      License: http://www.python.org/psf/trademarks
    
+   * OSX
+     Source: IconArchive (http://www.iconarchive.com/show/papercut-social-icons-by-graphicloads/Apple-icon.html)
+     Author: GraphicLoads, Papercut Social Icons
+     License: Freeware
+   
    * Debian
      Source: NuoveXT (http://nuovext.pwsp.net/)
      Author: Alexandre Moore (http://sa-ki.deviantart.com/)
@@ -65,16 +70,27 @@ Download
           :target: https://pypi.python.org/pypi/stem/
 
        Signed releases and instructions for both Python 2.x and 3.x. You can
-       install from its `tarball
+       easily install from its `tarball
        <https://pypi.python.org/packages/source/s/stem/stem-1.3.0.tar.bz2>`_
        (`sig
        <https://pypi.python.org/packages/source/s/stem/stem-1.3.0.tar.bz2.asc>`_),
-       or if you have **pip** installed then getting stem can be as simple
-       as...
+       or with **pip**...
+
+       ::
+
+         % sudo easy_install pip
+         % sudo pip install stem
+
+   * - .. image:: /_static/section/download/osx.png
+
+     - .. image:: /_static/label/osx.png
+
+       As of OSX 10.8 the platform bundles Python 2.7 by default. This makes
+       installation easy...
 
        ::
 
-         % pip install stem
+         % sudo pip install stem
 
    * - .. image:: /_static/section/download/debian.png
           :target: http://packages.debian.org/sid/python-stem
@@ -86,7 +102,7 @@ Download
 
        ::
 
-         % apt-get install python-stem
+         % sudo apt-get install python-stem
 
    * - .. image:: /_static/section/download/ubuntu.png
           :target: https://launchpad.net/ubuntu/+source/python-stem
@@ -98,7 +114,7 @@ Download
 
        ::
 
-         % apt-get install python-stem
+         % sudo apt-get install python-stem
 
    * - .. image:: /_static/section/download/fedora.png
           :target: https://apps.fedoraproject.org/packages/python-stem
@@ -112,7 +128,7 @@ Download
 
        ::
 
-         % yum install python-stem
+         % sudo yum install python-stem
 
    * - .. image:: /_static/section/download/gentoo.png
           :target: http://packages.gentoo.org/package/net-libs/stem
@@ -124,7 +140,7 @@ Download
 
        ::
 
-         % emerge stem
+         % sudo emerge stem
 
    * - .. image:: /_static/section/download/slackware.png
           :target: http://slackbuilds.org/repository/14.1/python/stem/



More information about the tor-commits mailing list