mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE (GH-29688)
This commit is contained in:
parent
db2277a114
commit
133c65a870
4 changed files with 90 additions and 6 deletions
10
setup.py
10
setup.py
|
@ -984,18 +984,16 @@ class PyBuildExt(build_ext):
|
|||
#
|
||||
|
||||
# array objects
|
||||
self.add(Extension('array', ['arraymodule.c']))
|
||||
self.addext(Extension('array', ['arraymodule.c']))
|
||||
|
||||
# Context Variables
|
||||
self.add(Extension('_contextvars', ['_contextvarsmodule.c']))
|
||||
self.addext(Extension('_contextvars', ['_contextvarsmodule.c']))
|
||||
|
||||
# math library functions, e.g. sin()
|
||||
self.add(Extension('math', ['mathmodule.c'],
|
||||
libraries=['m']))
|
||||
self.addext(Extension('math', ['mathmodule.c']))
|
||||
|
||||
# complex math library functions
|
||||
self.add(Extension('cmath', ['cmathmodule.c'],
|
||||
libraries=['m']))
|
||||
self.addext(Extension('cmath', ['cmathmodule.c']))
|
||||
|
||||
# time libraries: librt may be needed for clock_gettime()
|
||||
time_libs = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue