forked from certbot/certbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.)
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ def read_file(filename, encoding='utf8'): | |
|
||
install_requires = [ | ||
'acme=={0}'.format(version), | ||
'ConfigArgParse>=0.10.0', # python2.6 support, upstream #17 | ||
'configobj', | ||
'cryptography>=0.7', # load_pem_x509_certificate | ||
'parsedatetime', | ||
|
@@ -54,9 +53,13 @@ def read_file(filename, encoding='utf8'): | |
# only some distros recognize stdlib argparse as already satisfying | ||
'argparse', | ||
'mock<1.1.0', | ||
'ConfigArgParse>=0.10.0', # python2.6 support, upstream #17 | ||
]) | ||
else: | ||
install_requires.append('mock') | ||
install_requires.extend([ | ||
'mock', | ||
'ConfigArgParse', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mgedmin
Author
Owner
|
||
]) | ||
|
||
dev_extras = [ | ||
# Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289 | ||
|
we order imports :)