configure pytest and setuptools integration

master
Justin Riley 2016-08-02 17:17:19 -04:00
parent 989e194c1a
commit 14cd665964
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,6 @@
[aliases]
test=pytest
[flake8]
exclude =
.git,

View File

@ -23,6 +23,13 @@ setup(
"IPy>=0.83",
"dnslib>=0.9.6",
],
setup_requires=[
'pytest-runner>=2.9'
],
tests_require=[
"pytest>=2.9.2",
"testfixtures>=4.10.0",
],
entry_points=dict(console_scripts=['onedns = onedns.cli:main']),
zip_safe=False
)