diff setup.py @ 26829:f64c96922708 legacy-trunk

SF patch 658251: Install a C implementation of the Mersenne Twister as the core generator for random.py.
author Raymond Hettinger <python@rcn.com>
date Sun, 29 Dec 2002 23:03:38 +0000
parents 901e47cc8cac
children 26df6013b303
line wrap: on
line diff
--- a/setup.py	Sun Dec 29 22:48:52 2002 +0000
+++ b/setup.py	Sun Dec 29 23:03:38 2002 +0000
@@ -316,6 +316,8 @@
                                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