From 4bb28d92b0acdde6686f11bf9b33c96b20436ea2 Mon Sep 17 00:00:00 2001 From: crudo Date: Sun, 24 Dec 2017 12:38:38 +0100 Subject: [PATCH] Adjust setup.py for pytest --- setup.cfg | 2 ++ setup.py | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..9af7e6f --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[aliases] +test=pytest \ No newline at end of file diff --git a/setup.py b/setup.py index 9a73804..69bdb47 100644 --- a/setup.py +++ b/setup.py @@ -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'] )