| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 694561d commit a4c68bb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,6 @@ | |||
| 32 | 32 | from setuptools import setup, find_packages, Extension | |
| 33 | 33 | import setuptools.command.build_ext | |
| 34 | 34 | import setuptools.command.build_py | |
| 35 | - import setuptools.command.test | ||
| 36 | 35 | import setuptools.command.sdist | |
| 37 | 36 | ||
| 38 | 37 | from distutils.errors import CompileError | |
@@ -67,12 +66,6 @@ def has_flag(self, flagname): | |||
| 67 | 66 | return True | |
| 68 | 67 | ||
| 69 | 68 | ||
| 70 | - class NoopTestCommand(setuptools.command.test.test): | ||
| 71 | - def __init__(self, dist): | ||
| 72 | - print("Matplotlib does not support running tests with " | ||
| 73 | - "'python setup.py test'. Please run 'pytest'.") | ||
| 74 | - | ||
| 75 | - | ||
| 76 | 69 | class BuildExtraLibraries(setuptools.command.build_ext.build_ext): | |
| 77 | 70 | def finalize_options(self): | |
| 78 | 71 | self.distribution.ext_modules[:] = [ | |
@@ -341,7 +334,6 @@ def make_release_tree(self, base_dir, files): | |||
| 341 | 334 | "fallback_version": "0.0+UNKNOWN", | |
| 342 | 335 | }, | |
| 343 | 336 | cmdclass={ | |
| 344 | - "test": NoopTestCommand, | ||
| 345 | 337 | "build_ext": BuildExtraLibraries, | |
| 346 | 338 | "build_py": BuildPy, | |
| 347 | 339 | "sdist": Sdist, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments