| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/py-simplejson/files/ |
Upload File : |
--- setup.py.orig 2016-10-21 07:55:07 UTC
+++ setup.py
@@ -64,25 +64,8 @@ class ve_build_ext(build_ext):
raise BuildFailed()
-class TestCommand(Command):
- user_options = []
-
- def initialize_options(self):
- pass
-
- def finalize_options(self):
- pass
-
- def run(self):
- import sys, subprocess
- raise SystemExit(
- subprocess.call([sys.executable,
- # Turn on deprecation warnings
- '-Wd',
- 'simplejson/tests/__init__.py']))
-
def run_setup(with_binary):
- cmdclass = dict(test=TestCommand)
+ cmdclass = dict()
if with_binary:
kw = dict(
ext_modules = [
@@ -105,6 +88,7 @@ def run_setup(with_binary):
license="MIT License",
packages=['simplejson', 'simplejson.tests'],
platforms=['any'],
+ test_suite='simplejson.tests',
**kw)
try: