Skip to content

Commit

Permalink
Drop setup.py test, fixes #291
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Mar 16, 2020
1 parent 35522cb commit c6fa514
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ exclude =
tests
extern

[aliases]
test = pytest

[tool:pytest]
addopts = --benchmark-disable
testpaths =
Expand Down
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
import os


# Official trick to avoid pytest-runner as requirement if not needed
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []

# Use -j N or set the environment variable NPY_NUM_BUILD_JOBS
try:
from numpy.distutils.ccompiler import CCompiler_compile
Expand Down Expand Up @@ -114,9 +110,6 @@ def build_extensions(self):
setup(
ext_modules=ext_modules,
cmdclass={"build_ext": BuildExt},
test_suite="tests",
install_requires=["numpy"],
tests_require=extras["test"],
setup_requires=[] + pytest_runner,
extras_require=extras,
)

0 comments on commit c6fa514

Please sign in to comment.