python-txsocksx: new package

From the README:

txsocksx is SOCKS4/4a and SOCKS5 client endpoints for Twisted 10.1 or
greater.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2015-12-01 18:22:26 +08:00
parent 6ceee2c0dd
commit 937d5e544d
3 changed files with 89 additions and 0 deletions
@@ -0,0 +1,11 @@
diff --git a/setup.py b/setup.py
index 7979f89..3873a1e 100644
--- a/setup.py
+++ b/setup.py
@@ -35,5 +35,5 @@ setup(
'version_module_paths': ['txsocksx/_version.py'],
},
install_requires=install_requires,
- packages=['txsocksx', 'txsocksx.test'],
+ packages=['txsocksx'],
)
@@ -0,0 +1,29 @@
diff --git a/setup.py b/setup.py
index 7979f89..5e1abb3 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,8 @@
# Copyright (c) Aaron Gallagher <_@habnab.it>
# See COPYING for details.
+import os
+
from setuptools import setup
@@ -30,10 +32,11 @@ setup(
],
license='ISC',
- setup_requires=['vcversioner>=1'],
- vcversioner={
- 'version_module_paths': ['txsocksx/_version.py'],
- },
+ #setup_requires=['vcversioner>=1'],
+ #vcversioner={
+ # 'version_module_paths': ['txsocksx/_version.py'],
+ #},
+ version=os.environ.get('PKG_VERSION'),
install_requires=install_requires,
packages=['txsocksx', 'txsocksx.test'],
)