(with_binary)
| 84 | |
| 85 | |
| 86 | def run_setup(with_binary): |
| 87 | cmdclass = dict(test=TestCommand) |
| 88 | if with_binary: |
| 89 | kw = dict( |
| 90 | ext_modules=[ |
| 91 | Extension( |
| 92 | "simplejson._speedups", |
| 93 | sources=["simplejson/_speedups.c"], |
| 94 | depends=["simplejson/_speedups_scan.h"], |
| 95 | ), |
| 96 | ], |
| 97 | cmdclass=dict(cmdclass, build_ext=ve_build_ext), |
| 98 | ) |
| 99 | else: |
| 100 | kw = dict(cmdclass=cmdclass) |
| 101 | |
| 102 | setup( |
| 103 | name="simplejson", |
| 104 | version=VERSION, |
| 105 | description=DESCRIPTION, |
| 106 | long_description=LONG_DESCRIPTION, |
| 107 | classifiers=CLASSIFIERS, |
| 108 | python_requires=PYTHON_REQUIRES, |
| 109 | author="Bob Ippolito", |
| 110 | author_email="bob@redivi.com", |
| 111 | url="https://github.com/simplejson/simplejson", |
| 112 | license="MIT OR AFL-2.1", |
| 113 | packages=['simplejson', 'simplejson.tests'], |
| 114 | platforms=['any'], |
| 115 | **kw) |
| 116 | |
| 117 | |
| 118 | DISABLE_SPEEDUPS = IS_PYPY or IS_GRAALPY or os.environ.get('DISABLE_SPEEDUPS') == '1' |
no outgoing calls
no test coverage detected
searching dependent graphs…