[tor-commits] [stem/master] Borrowing setup.py corrections from robinson

atagar at torproject.org atagar at torproject.org
Sun Nov 25 21:06:24 UTC 2012


commit 4c65738d100ab0802a75cc4b9d64065c8a8ef881
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Nov 25 13:03:46 2012 -0800

    Borrowing setup.py corrections from robinson
    
    Borrowing a couple things from robinson's patch on...
    https://trac.torproject.org/7565
    
    ... including the description, updated stem url, and provides/keywords args.
    Tested by simply running 'python setup.py build'.
---
 setup.py         |    9 ++++++++-
 stem/__init__.py |    2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index c54b999..395f97c 100644
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,11 @@ from stem import __version__, \
 
 from distutils.core import setup
 
+DESCRIPTION = """\
+Stem is a python controller library for Tor <https://www.torproject.org/>.
+Like its predecessor, TorCtl, it uses Tor's control protocol to help
+developers program against the Tor process."""
+
 try:
   from distutils.command.build_py import build_py_2to3 as build_py
 except ImportError:
@@ -15,12 +20,14 @@ except ImportError:
 
 setup(name = 'stem',
       version = __version__,
-      description = 'Controller library for tor',
+      description = DESCRIPTION,
       license = __license__,
       author = __author__,
       author_email = __contact__,
       url = __url__,
       packages = ['stem', 'stem.descriptor', 'stem.response', 'stem.util'],
+      provides = ['stem'],
       cmdclass = {'build_py': build_py},
+      keywords = "tor onion controller",
 )
 
diff --git a/stem/__init__.py b/stem/__init__.py
index dd0061f..961bc48 100644
--- a/stem/__init__.py
+++ b/stem/__init__.py
@@ -18,7 +18,7 @@ Library for working with the tor process.
 __version__ = '0.0.1'
 __author__ = 'Damian Johnson'
 __contact__ = 'atagar at torproject.org'
-__url__ = 'http://www.atagar.com/stem/'
+__url__ = 'http://stem.readthedocs.org'
 __license__ = 'LGPLv3'
 
 __all__ = [



More information about the tor-commits mailing list