mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
- compile struct module
- get version number from sys.version_info
This commit is contained in:
parent
f785042433
commit
e7e2ece979
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -456,11 +456,11 @@ class PyBuildExt(build_ext):
|
|||
# *** Uncomment these for TOGL extension only:
|
||||
# -lGL -lGLU -lXext -lXmu \
|
||||
|
||||
self.extensions = exts
|
||||
self.extensions.extend(exts)
|
||||
|
||||
def main():
|
||||
setup(name = 'Python standard library',
|
||||
version = '2.0',
|
||||
version = '%d.%d' % sys.version_info[:2],
|
||||
cmdclass = {'build_ext':PyBuildExt},
|
||||
# The struct module is defined here, because build_ext won't be
|
||||
# called unless there's at least one extension module defined.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue