From 212fc2b96e351e42fa0eca9238549c4f329d2c63 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Tue, 21 Feb 2017 16:39:52 +0100 Subject: Remove pytest-related dependencies from setup.py The `setup_requires` line prevents builds in internal environments without Internet access / pythonX-pytest-runner RPM installed. In fact, we're running tests with `pytest`, outside of `setup.py`, so we don't need those dependencies there. Note: we decided not to run tests through `python setup.py pytest` because pytest-runner was limited in how we can pass arguments to pytest / enable plugins. E.g., I could not get the coverage plugin working when running `python setup.py pytest`. --- utils/setup.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'utils') diff --git a/utils/setup.py b/utils/setup.py index 20e3d81dc..238c64c19 100644 --- a/utils/setup.py +++ b/utils/setup.py @@ -65,9 +65,6 @@ setup( 'ooinstall': ['ansible.cfg', 'ansible-quiet.cfg', 'ansible_plugins/*'], }, - setup_requires=['pytest-runner'], - tests_require=['pytest'], - # To provide executable scripts, use entry points in preference to the # "scripts" keyword. Entry points provide cross-platform support and allow # pip to create the appropriate form of executable for the target platform. -- cgit v1.2.3