mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 00:22:04 +02:00
Allow older ConfigArgParse for users of modern Pythons
(I think this is a bad idea because of https://github.com/pypa/pip/issues/3025, but letsencrypt maintainers insist, so *shrug*. Also the same problem exists for the versioned 'mock' dependency, so I'm not introducing a new one here.)
This commit is contained in:
@@ -32,7 +32,6 @@ version = meta['version']
|
|||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'acme=={0}'.format(version),
|
'acme=={0}'.format(version),
|
||||||
'ConfigArgParse>=0.10.0', # python2.6 support, upstream #17
|
|
||||||
'configobj',
|
'configobj',
|
||||||
'cryptography>=0.7', # load_pem_x509_certificate
|
'cryptography>=0.7', # load_pem_x509_certificate
|
||||||
'parsedatetime',
|
'parsedatetime',
|
||||||
@@ -54,9 +53,13 @@ if sys.version_info < (2, 7):
|
|||||||
# only some distros recognize stdlib argparse as already satisfying
|
# only some distros recognize stdlib argparse as already satisfying
|
||||||
'argparse',
|
'argparse',
|
||||||
'mock<1.1.0',
|
'mock<1.1.0',
|
||||||
|
'ConfigArgParse>=0.10.0', # python2.6 support, upstream #17
|
||||||
])
|
])
|
||||||
else:
|
else:
|
||||||
install_requires.append('mock')
|
install_requires.extend([
|
||||||
|
'mock',
|
||||||
|
'ConfigArgParse',
|
||||||
|
])
|
||||||
|
|
||||||
dev_extras = [
|
dev_extras = [
|
||||||
# Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289
|
# Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289
|
||||||
|
|||||||
Reference in New Issue
Block a user