Skip to content

Commit ef09530

Browse files
committed
Drop support for the deprecated "setup.py test"
1 parent c88efc0 commit ef09530

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
[aliases]
2-
test = pytest

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import codecs
44
import os.path
55
import re
6-
import sys
76

87
import setuptools
98

@@ -33,10 +32,6 @@ def find_version(*file_paths):
3332
"requests-mock",
3433
]
3534

36-
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
37-
pytest_runner = ["pytest-runner"] if needs_pytest else []
38-
39-
4035
setuptools.setup(
4136
name="neuroglancer-scripts",
4237
version=find_version("src", "neuroglancer_scripts", "__init__.py"),
@@ -85,7 +80,6 @@ def find_version(*file_paths):
8580
"tox",
8681
],
8782
},
88-
setup_requires=pytest_runner,
8983
tests_require=tests_require,
9084
entry_points={
9185
"console_scripts": [

0 commit comments

Comments
 (0)