mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 15:48:52 +02: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:
+3
-1
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user