Make 'mock' a run-time rather than setup-time dependency. This is necessary in order for 'tahoe debug trial' to work. refs #1296

This commit is contained in:
david-sarah 2011-01-18 12:51:14 -08:00
parent 7a887871b0
commit 420aadd95e
2 changed files with 6 additions and 5 deletions

View File

@ -169,11 +169,9 @@ if "--reporter=bwverbose-coverage" in sys.argv:
if "sdist_dsc" in sys.argv:
setup_requires.append('stdeb >= 0.3')
tests_require=[
# Mock - Mocking and Testing Library
# http://www.voidspace.org.uk/python/mock/
"mock",
]
# We no longer have any requirements specific to tests.
tests_require=[]
class ShowSupportLib(Command):
user_options = []

View File

@ -30,6 +30,9 @@ install_requires=[
"pycrypto == 2.0.1, == 2.1, >= 2.3",
"pyasn1 >= 0.0.8a",
# http://www.voidspace.org.uk/python/mock/
"mock",
# Will be needed to test web apps, but not yet. See #1001.
#"windmill >= 1.3",
]