Skip to content

Commit fe1d35d

Browse files
ilpianistajohnbartholomew
authored andcommitted
Fix compatibility with setuptools 72
1 parent 7a714b9 commit fe1d35d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

setup.py

-10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from setuptools import setup
1717
from setuptools import Extension
1818
from setuptools.command.build_ext import build_ext as BuildExt
19-
from setuptools.command.test import test as TestCommand
2019
from subprocess import Popen, PIPE
2120

2221
DIR = os.path.abspath(os.path.dirname(__file__))
@@ -52,14 +51,6 @@ def run(self):
5251

5352
BuildExt.run(self)
5453

55-
56-
class NoopTestCommand(TestCommand):
57-
def __init__(self, dist):
58-
print(
59-
"_gojsonnet does not support running tests with 'python setup.py test'. Please run 'pytest'."
60-
)
61-
62-
6354
jsonnet_ext = Extension(
6455
"_gojsonnet",
6556
sources=MODULE_SOURCES,
@@ -79,7 +70,6 @@ def __init__(self, dist):
7970
version=get_version(),
8071
cmdclass={
8172
"build_ext": BuildJsonnetExt,
82-
"test": NoopTestCommand,
8373
},
8474
ext_modules=[jsonnet_ext],
8575
)

0 commit comments

Comments
 (0)