mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
setup: move the mock library from install_requires to tests_require (re: #1016)
This commit is contained in:
parent
32d9deace3
commit
28ed28a0c2
@ -32,10 +32,6 @@ install_requires=[
|
|||||||
"pycrypto >= 2.0.1",
|
"pycrypto >= 2.0.1",
|
||||||
"pyasn1 >= 0.0.8a",
|
"pyasn1 >= 0.0.8a",
|
||||||
|
|
||||||
# Mock - Mocking and Testing Library
|
|
||||||
# http://www.voidspace.org.uk/python/mock/
|
|
||||||
"mock",
|
|
||||||
|
|
||||||
# Will be needed to test web apps, but not yet. See #1001.
|
# Will be needed to test web apps, but not yet. See #1001.
|
||||||
#"windmill >= 1.3",
|
#"windmill >= 1.3",
|
||||||
]
|
]
|
||||||
|
7
setup.py
7
setup.py
@ -134,6 +134,12 @@ if "--reporter=bwverbose-coverage" in sys.argv:
|
|||||||
if "sdist_dsc" in sys.argv:
|
if "sdist_dsc" in sys.argv:
|
||||||
setup_requires.append('stdeb >= 0.3')
|
setup_requires.append('stdeb >= 0.3')
|
||||||
|
|
||||||
|
tests_require=[
|
||||||
|
# Mock - Mocking and Testing Library
|
||||||
|
# http://www.voidspace.org.uk/python/mock/
|
||||||
|
"mock",
|
||||||
|
]
|
||||||
|
|
||||||
class ShowSupportLib(Command):
|
class ShowSupportLib(Command):
|
||||||
user_options = []
|
user_options = []
|
||||||
def initialize_options(self):
|
def initialize_options(self):
|
||||||
@ -365,6 +371,7 @@ setup(name=APPNAME,
|
|||||||
classifiers=trove_classifiers,
|
classifiers=trove_classifiers,
|
||||||
test_suite="allmydata.test",
|
test_suite="allmydata.test",
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
|
tests_require=tests_require,
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
setup_requires=setup_requires,
|
setup_requires=setup_requires,
|
||||||
entry_points = { 'console_scripts': [ 'tahoe = allmydata.scripts.runner:run' ] },
|
entry_points = { 'console_scripts': [ 'tahoe = allmydata.scripts.runner:run' ] },
|
||||||
|
Loading…
Reference in New Issue
Block a user