Skip to content

Commit 9d30d5d

Browse files
committed
Merge pull request #6 from dave-shawley/separate-requirements
setup.py: Add tests_require.
2 parents f16208b + e47f592 commit 9d30d5d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@
1818
"requests",
1919
"requests_oauthlib",
2020
"certifi",
21+
]
22+
tests_require = [
2123
"nose",
22-
"mock"
24+
"mock",
2325
]
2426
include_package_data = True
2527

2628
try:
2729
from setuptools import setup
2830
options["install_requires"] = install_requires
2931
options["include_package_data"] = include_package_data
32+
options["tests_require"] = tests_require
3033
setup(**options)
3134

3235
except ImportError:

0 commit comments

Comments
 (0)