setup.py: update/fix deps.

This commit is contained in:
Jakub Warmuz 2015-09-01 19:57:41 +00:00
parent c3941b1a8d
commit c6e4c7dea1
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA
4 changed files with 19 additions and 3 deletions

View file

@ -5,16 +5,15 @@ from setuptools import find_packages
install_requires = [
'argparse',
# load_pem_private/public_key (>=0.6)
# rsa_recover_prime_factors (>=0.8)
'cryptography>=0.8',
'mock<1.1.0', # py26
'pyrfc3339',
'ndg-httpsclient', # urllib3 InsecurePlatformWarning (#304)
'pyasn1', # urllib3 InsecurePlatformWarning (#304)
# Connection.set_tlsext_host_name (>=0.13), X509Req.get_extensions (>=0.15)
'PyOpenSSL>=0.15',
'pyrfc3339',
'pytz',
'requests',
'six',

View file

@ -5,8 +5,9 @@ from setuptools import find_packages
install_requires = [
'acme',
'letsencrypt',
'pyparsing>=1.5.5', # Python3 support; perhaps unnecessary?
'mock<1.1.0', # py26
'PyOpenSSL',
'pyparsing>=1.5.5', # Python3 support; perhaps unnecessary?
'zope.interface',
]

View file

@ -41,6 +41,7 @@ install_requires = [
'pyrfc3339',
'python2-pythondialog>=3.2.2rc1', # Debian squeeze support, cf. #280
'pytz',
'requests',
'zope.component',
'zope.interface',
]

15
tools/deps.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh
#
# Find all Python imports.
#
# ./deps.sh letsencrypt
# ./deps.sh acme
# ./deps.sh letsencrypt-apache
# ...
#
# Manually compare the output with deps in setup.py.
git grep -h -E '^(import|from.*import)' $1/ | \
awk '{print $2}' | \
grep -vE "^$1" | \
sort -u