[tor-commits] [stem/master] Shortening setup.py description

atagar at torproject.org atagar at torproject.org
Sun Jun 1 19:56:17 UTC 2014


commit 90c291dca7f48edf1dc4640d5add3ebf0ab1f775
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Jun 1 12:33:17 2014 -0700

    Shortening setup.py description
    
    Minor change to our description. TorCtl has been deprecated long enough that
    there's probably little point in mentioning it.
---
 setup.py |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/setup.py b/setup.py
index 200f1d8..bc09795 100644
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,10 @@ from distutils.core import setup
 
 STAT_LINE = re.compile(r"^__(.+)__ = '(.+)'$")
 
+DESCRIPTION = """\
+Stem is a Python controller library that allows applications to interact with
+Tor <https://www.torproject.org/>."""
+
 def get_module_info():
   # reads the basic __stat__ strings from our module's init
 
@@ -29,18 +33,13 @@ def get_module_info():
 
   return result
 
-module_info = get_module_info()
-
-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:
   from distutils.command.build_py import build_py
 
+module_info = get_module_info()
+
 setup(
   name = 'stem',
   version = module_info['version'],





More information about the tor-commits mailing list