Skip to content

Commit 51f1711

Browse files
committed
Allow older ConfigArgParse for users of modern Pythons
(I think this is a bad idea because of pypa/pip#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.)
1 parent 9fbec03 commit 51f1711

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def read_file(filename, encoding='utf8'):
3232

3333
install_requires = [
3434
'acme=={0}'.format(version),
35-
'ConfigArgParse>=0.10.0', # python2.6 support, upstream #17
3635
'configobj',
3736
'cryptography>=0.7', # load_pem_x509_certificate
3837
'parsedatetime',
@@ -54,9 +53,13 @@ def read_file(filename, encoding='utf8'):
5453
# only some distros recognize stdlib argparse as already satisfying
5554
'argparse',
5655
'mock<1.1.0',
56+
'ConfigArgParse>=0.10.0', # python2.6 support, upstream #17
5757
])
5858
else:
59-
install_requires.append('mock')
59+
install_requires.extend([
60+
'mock',
61+
'ConfigArgParse',
62+
])
6063

6164
dev_extras = [
6265
# Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289

0 commit comments

Comments
 (0)