From 950a5960d2d782b5f3f5fb0eae8590477520cefc Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Thu, 11 Jul 2019 14:27:49 -0700 Subject: [PATCH] Pytest is a test-requirement not a runtime requirement Installing pycuda shouldn't bring in a test runtime, only when you are planning to run the test suite of pycuda should this be brought in. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a52f8299..e63c2c5c 100644 --- a/setup.py +++ b/setup.py @@ -208,12 +208,15 @@ def main(): install_requires=[ "pytools>=2011.2", - "pytest>=2", "decorator>=3.2.0", "appdirs>=1.4.0", "mako", ], + test_requires=[ + "pytest>=2", + ], + ext_package="pycuda", ext_modules=[ ExtensionUsingNumpy("_driver",