[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Adding a setup.py
commit 337f2221109ae61ed90fbf640d23fa434bed8049
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sun Nov 25 12:11:59 2012 -0800
Adding a setup.py
I've had a setup.py sitting around since the GSoC mentor summit, but didn't
check it in since I haven't made a method for testing the Python 3 conversion.
robinson submitted a patch adding a setup.py so guess I should stop waiting on
that.
---
setup.py | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..c54b999
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+
+from stem import __version__, \
+ __author__, \
+ __contact__, \
+ __url__, \
+ __license__
+
+from distutils.core import setup
+
+try:
+ from distutils.command.build_py import build_py_2to3 as build_py
+except ImportError:
+ from distutils.command.build_py import build_py
+
+setup(name = 'stem',
+ version = __version__,
+ description = 'Controller library for tor',
+ license = __license__,
+ author = __author__,
+ author_email = __contact__,
+ url = __url__,
+ packages = ['stem', 'stem.descriptor', 'stem.response', 'stem.util'],
+ cmdclass = {'build_py': build_py},
+)
+
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits