summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-11-22 08:05:36 (GMT)
committerGitHub <noreply@github.com>2021-11-22 08:05:36 (GMT)
commit133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3 (patch)
treef4b3ab2e174e41aaee327157e377b519c6cdc1a5 /setup.py
parentdb2277a114463d30a58d9066f2b47f7a53a1488c (diff)
downloadcpython-133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3.zip
cpython-133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3.tar.gz
cpython-133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3.tar.bz2
bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE (GH-29688)
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index 13ed636..b2a3f4e 100644
--- a/setup.py
+++ b/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 = []