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: if "sdist_dsc" in sys.argv:
setup_requires.append('stdeb >= 0.3') setup_requires.append('stdeb >= 0.3')
tests_require=[ # We no longer have any requirements specific to tests.
# Mock - Mocking and Testing Library tests_require=[]
# http://www.voidspace.org.uk/python/mock/
"mock",
]
class ShowSupportLib(Command): class ShowSupportLib(Command):
user_options = [] user_options = []

View File

@ -30,6 +30,9 @@ install_requires=[
"pycrypto == 2.0.1, == 2.1, >= 2.3", "pycrypto == 2.0.1, == 2.1, >= 2.3",
"pyasn1 >= 0.0.8a", "pyasn1 >= 0.0.8a",
# 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",
] ]