002-do-not-use-vcversioner.patch 678 B

1234567891011121314151617181920212223242526272829
  1. diff --git a/setup.py b/setup.py
  2. index 7979f89..5e1abb3 100644
  3. --- a/setup.py
  4. +++ b/setup.py
  5. @@ -1,6 +1,8 @@
  6. # Copyright (c) Aaron Gallagher <_@habnab.it>
  7. # See COPYING for details.
  8. +import os
  9. +
  10. from setuptools import setup
  11. @@ -30,10 +32,11 @@ setup(
  12. ],
  13. license='ISC',
  14. - setup_requires=['vcversioner>=1'],
  15. - vcversioner={
  16. - 'version_module_paths': ['txsocksx/_version.py'],
  17. - },
  18. + #setup_requires=['vcversioner>=1'],
  19. + #vcversioner={
  20. + # 'version_module_paths': ['txsocksx/_version.py'],
  21. + #},
  22. + version=os.environ.get('PKG_VERSION'),
  23. install_requires=install_requires,
  24. packages=['txsocksx', 'txsocksx.test'],
  25. )