summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-21 16:39:52 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-21 16:39:52 +0100
commit212fc2b96e351e42fa0eca9238549c4f329d2c63 (patch)
tree8123c2e8c94e13118e7e72558d9fce9550c7f3d4 /utils
parenta40ee317e7727749240eb4475bdfe2eda00bbbcc (diff)
downloadopenshift-212fc2b96e351e42fa0eca9238549c4f329d2c63.tar.gz
openshift-212fc2b96e351e42fa0eca9238549c4f329d2c63.tar.bz2
openshift-212fc2b96e351e42fa0eca9238549c4f329d2c63.tar.xz
openshift-212fc2b96e351e42fa0eca9238549c4f329d2c63.zip
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`.
Diffstat (limited to 'utils')
-rw-r--r--utils/setup.py3
1 files changed, 0 insertions, 3 deletions
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.