summaryrefslogtreecommitdiffstats
path: root/lang/python/python-txsocksx/patches/002-do-not-use-vcversioner.patch
blob: c7c2cbbaadff6dc023eea32d146e0476880a4267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- 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'],
 )