mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Revert moving mock to test_requires.
We'll take this up later, but I don't want to hold up the new le-auto on this debate.
This commit is contained in:
parent
1706619886
commit
e1bd1645b6
2 changed files with 6 additions and 2 deletions
|
|
@ -29,7 +29,10 @@ if sys.version_info < (2, 7):
|
|||
install_requires.extend([
|
||||
# only some distros recognize stdlib argparse as already satisfying
|
||||
'argparse',
|
||||
'mock<1.1.0',
|
||||
])
|
||||
else:
|
||||
install_requires.append('mock')
|
||||
|
||||
docs_extras = [
|
||||
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
||||
|
|
@ -70,7 +73,6 @@ setup(
|
|||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
install_requires=install_requires,
|
||||
tests_require='mock<1.1.0' if sys.version_info < (2, 7) else 'mock',
|
||||
extras_require={
|
||||
'docs': docs_extras,
|
||||
'testing': testing_extras,
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -54,7 +54,10 @@ if sys.version_info < (2, 7):
|
|||
install_requires.extend([
|
||||
# only some distros recognize stdlib argparse as already satisfying
|
||||
'argparse',
|
||||
'mock<1.1.0',
|
||||
])
|
||||
else:
|
||||
install_requires.append('mock')
|
||||
|
||||
dev_extras = [
|
||||
# Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289
|
||||
|
|
@ -111,7 +114,6 @@ setup(
|
|||
include_package_data=True,
|
||||
|
||||
install_requires=install_requires,
|
||||
tests_require='mock<1.1.0' if sys.version_info < (2, 7) else 'mock',
|
||||
extras_require={
|
||||
'dev': dev_extras,
|
||||
'docs': docs_extras,
|
||||
|
|
|
|||
Loading…
Reference in a new issue