Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-07-30 13:15:32 +0300
committerYen Chi Hsuan <yan12125@gmail.com>2016-07-30 18:07:02 +0300
commit8a09a7ed6715e345ee03041b933a9f815e815dd8 (patch)
tree537305bb5a9cc6f33eba21838ebab62a998f609d /setup.py
parentb08a3eb7baee2ef47dc7c6651300747f40cee662 (diff)
Python 3 support for certonly
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 21cda901a..093cbc449 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,6 @@ install_requires = [
'psutil>=2.2.1', # 2.1.0 for net_connections and 2.2.1 resolves #1080
'PyOpenSSL',
'pyrfc3339',
- 'python2-pythondialog>=3.2.2rc1', # Debian squeeze support, cf. #280
'pytz',
# For pkg_resources. >=1.0 so pip resolves it to a version cryptography
# will tolerate; see #2599:
@@ -53,6 +52,12 @@ install_requires = [
'zope.interface',
]
+# Debian squeeze support, cf. #280
+if sys.version_info[0] == 2:
+ install_requires.append('python2-pythondialog>=3.2.2rc1')
+else:
+ install_requires.append('pythondialog>=3.2.2rc1')
+
# env markers in extras_require cause problems with older pip: #517
# Keep in sync with conditional_requirements.py.
if sys.version_info < (2, 7):