aports/community/certbot/remove-check-for-setuptools-version.patch
2019-08-08 08:51:38 +00:00

23 lines
962 B
Diff

diff --git a/setup.py b/setup.py
index 017b666..d5eafef 100644
--- a/setup.py
+++ b/setup.py
@@ -53,17 +53,6 @@ install_requires = [
'zope.interface',
]
-# Add pywin32 on Windows platforms to handle low-level system calls.
-# This dependency needs to be added using environment markers to avoid its installation on Linux.
-# However environment markers are supported only with setuptools >= 36.2.
-# So this dependency is not added for old Linux distributions with old setuptools,
-# in order to allow these systems to build certbot from sources.
-if StrictVersion(setuptools_version) >= StrictVersion('36.2'):
- install_requires.append("pywin32>=224 ; sys_platform == 'win32'")
-elif 'bdist_wheel' in sys.argv[1:]:
- raise RuntimeError('Error, you are trying to build certbot wheels using an old version '
- 'of setuptools. Version 36.2+ of setuptools is required.')
-
dev_extras = [
'astroid==1.6.5',
'coverage',