Skip to content

Commit 70095c0

Browse files
committed
Drop setup.py test, fixes #291
1 parent 913a34b commit 70095c0

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ exclude =
4646
tests
4747
extern
4848

49-
[aliases]
50-
test = pytest
51-
5249
[tool:pytest]
5350
addopts = --benchmark-disable
5451
testpaths =

setup.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
import os
88

99

10-
# Official trick to avoid pytest-runner as requirement if not needed
11-
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
12-
pytest_runner = ["pytest-runner"] if needs_pytest else []
13-
1410
# Use -j N or set the environment variable NPY_NUM_BUILD_JOBS
1511
try:
1612
from numpy.distutils.ccompiler import CCompiler_compile
@@ -114,9 +110,6 @@ def build_extensions(self):
114110
setup(
115111
ext_modules=ext_modules,
116112
cmdclass={"build_ext": BuildExt},
117-
test_suite="tests",
118113
install_requires=["numpy"],
119-
tests_require=extras["test"],
120-
setup_requires=[] + pytest_runner,
121114
extras_require=extras,
122115
)

0 commit comments

Comments
 (0)