Skip to content

Commit

Permalink
Adds test deps to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasha Palangpour committed Jun 12, 2016
1 parent faa0061 commit 06d517c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[bdist_wheel]
universal=1
[aliases]
test=pytest
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
path, script = os.path.split(sys.argv[0])
os.chdir(os.path.abspath(path))

tests_require = [
'pytest',
'pytest-pep8',
'pytest-cov',
'mock',
]

setup(
name='nsone',
# flake8: noqa
Expand All @@ -19,6 +26,8 @@
author_email='sweyrick@nsone.net',
url='https://github.com/nsone/nsone-python',
packages=['nsone', 'nsone.rest', 'nsone.rest.transport'],
setup_requires=['pytest-runner'],
tests_require=tests_require,
keywords='dns development rest sdk nsone',
classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit 06d517c

Please sign in to comment.