mirror of https://github.com/python/cpython
Add compilation of timemodule.c with datetimemodule.c to get
__PyTime_DoubleToTimet().
This commit is contained in:
parent
6cc48148fe
commit
057e7200d1
2
setup.py
2
setup.py
|
@ -315,7 +315,7 @@ class PyBuildExt(build_ext):
|
|||
# time operations and variables
|
||||
exts.append( Extension('time', ['timemodule.c'],
|
||||
libraries=math_libs) )
|
||||
exts.append( Extension('datetime', ['datetimemodule.c'],
|
||||
exts.append( Extension('datetime', ['datetimemodule.c', 'timemodule.c'],
|
||||
libraries=math_libs) )
|
||||
# random number generator implemented in C
|
||||
exts.append( Extension("_random", ["_randommodule.c"]) )
|
||||
|
|
Loading…
Reference in New Issue