summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-12-29 23:03:38 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-12-29 23:03:38 (GMT)
commit40f621709286a7a0f7e6f260c0fd020d0fac0de0 (patch)
treebd602fee432a253a0f454fc696d14734f18dd915 /setup.py
parent5e65ce671c3d3113035dd7783b79d395c9d71b3d (diff)
downloadcpython-40f621709286a7a0f7e6f260c0fd020d0fac0de0.zip
cpython-40f621709286a7a0f7e6f260c0fd020d0fac0de0.tar.gz
cpython-40f621709286a7a0f7e6f260c0fd020d0fac0de0.tar.bz2
SF patch 658251: Install a C implementation of the Mersenne Twister as the
core generator for random.py.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index fabba36..5e41112 100644
--- a/setup.py
+++ b/setup.py
@@ -316,6 +316,8 @@ class PyBuildExt(build_ext):
libraries=math_libs) )
exts.append( Extension('datetime', ['datetimemodule.c'],
libraries=math_libs) )
+ # random number generator implemented in C
+ exts.append( Extension("_random", ["_randommodule.c"]) )
# operator.add() and similar goodies
exts.append( Extension('operator', ['operator.c']) )
# Python C API test module