MCPcopy Create free account
hub / github.com/simplejson/simplejson / run_setup

Function run_setup

setup.py:86–115  ·  view source on GitHub ↗
(with_binary)

Source from the content-addressed store, hash-verified

84
85
86def 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
118DISABLE_SPEEDUPS = IS_PYPY or IS_GRAALPY or os.environ.get('DISABLE_SPEEDUPS') == '1'

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…