Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from setuptools import setup
from setuptools import Extension
from setuptools.command.build_ext import build_ext as BuildExt
from setuptools.command.test import test as TestCommand
from subprocess import Popen, PIPE

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

BuildExt.run(self)


class NoopTestCommand(TestCommand):
def __init__(self, dist):
print(
"_gojsonnet does not support running tests with 'python setup.py test'. Please run 'pytest'."
)


jsonnet_ext = Extension(
"_gojsonnet",
sources=MODULE_SOURCES,
Expand All @@ -79,7 +70,6 @@ def __init__(self, dist):
version=get_version(),
cmdclass={
"build_ext": BuildJsonnetExt,
"test": NoopTestCommand,
},
ext_modules=[jsonnet_ext],
)