Adjust setup.py for pytest

This commit is contained in:
crudo 2017-12-24 12:38:38 +01:00
parent 8668b43880
commit 4bb28d92b0
2 changed files with 4 additions and 0 deletions

2
setup.cfg Normal file
View File

@ -0,0 +1,2 @@
[aliases]
test=pytest

View File

@ -1,5 +1,6 @@
from setuptools import setup
setup(
name='phi',
version='0.0.1',
@ -15,6 +16,7 @@ setup(
packages=['phi', 'phi.api', 'phi.ldap'],
scripts=['src/phid'],
setup_requires=['pytest-runner'],
install_requires=['aiohttp', 'pyYAML', 'ldap3'],
tests_require=['pytest', 'pytest-aiohttp']
)