[tor-commits] [stem/master] Make stem.client a module

atagar at torproject.org atagar at torproject.org
Sun Jan 21 02:04:04 UTC 2018


commit 6d90a05b5f60a0dd768689c44ef65529d9a48bb8
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Jan 8 11:31:38 2018 -0800

    Make stem.client a module
    
    This is gonna be big enoug that we'll want to split it up.
---
 setup.py                               | 2 +-
 stem/{client.py => client/__init__.py} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 4e9e4c7d..dc9e2937 100644
--- a/setup.py
+++ b/setup.py
@@ -102,7 +102,7 @@ try:
     author = stem.__author__,
     author_email = stem.__contact__,
     url = stem.__url__,
-    packages = ['stem', 'stem.descriptor', 'stem.interpreter', 'stem.response', 'stem.util'],
+    packages = ['stem', 'stem.client', 'stem.descriptor', 'stem.interpreter', 'stem.response', 'stem.util'],
     keywords = 'tor onion controller',
     scripts = ['tor-prompt'],
     package_data = {
diff --git a/stem/client.py b/stem/client/__init__.py
similarity index 100%
rename from stem/client.py
rename to stem/client/__init__.py





More information about the tor-commits mailing list