Skip to content

Commit

Permalink
require mock for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Aug 19, 2011
1 parent 30acb71 commit 354fca4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions master/setup.py
Expand Up @@ -293,8 +293,13 @@ def make_release_tree(self, base_dir, files):
if not py_26:
setup_args['install_requires'].append('pysqlite')

setup_args['test_requires'] = [
'mock==0.7.1',
]

if os.getenv('NO_INSTALL_REQS'):
setup_args['install_requires'] = None
setup_args['tests_require'] = None

setup(**setup_args)

Expand Down

0 comments on commit 354fca4

Please sign in to comment.