the ucnhash module is no longer used
This commit is contained in:
parent
06d126803c
commit
ade711a5c3
28
setup.py
28
setup.py
@ -100,12 +100,12 @@ class PyBuildExt(build_ext):
|
||||
build_ext.build_extensions(self)
|
||||
|
||||
def get_platform (self):
|
||||
# Get value of sys.platform
|
||||
platform = sys.platform
|
||||
if platform[:6] =='cygwin':
|
||||
platform = 'cygwin'
|
||||
# Get value of sys.platform
|
||||
platform = sys.platform
|
||||
if platform[:6] =='cygwin':
|
||||
platform = 'cygwin'
|
||||
|
||||
return platform
|
||||
return platform
|
||||
|
||||
def detect_modules(self):
|
||||
# Ensure that /usr/local is always used
|
||||
@ -121,12 +121,12 @@ class PyBuildExt(build_ext):
|
||||
inc_dirs = ['/usr/include'] + self.compiler.include_dirs
|
||||
exts = []
|
||||
|
||||
platform = self.get_platform()
|
||||
platform = self.get_platform()
|
||||
|
||||
# Check for MacOS X, which doesn't need libm.a at all
|
||||
math_libs = ['m']
|
||||
if platform == 'Darwin1.2':
|
||||
math_libs = []
|
||||
# Check for MacOS X, which doesn't need libm.a at all
|
||||
math_libs = ['m']
|
||||
if platform == 'Darwin1.2':
|
||||
math_libs = []
|
||||
|
||||
# XXX Omitted modules: gl, pure, dl, SGI-specific modules
|
||||
|
||||
@ -161,8 +161,6 @@ class PyBuildExt(build_ext):
|
||||
exts.append( Extension('_codecs', ['_codecsmodule.c']) )
|
||||
# static Unicode character database
|
||||
exts.append( Extension('unicodedata', ['unicodedata.c']) )
|
||||
# Unicode Character Name expansion hash table
|
||||
exts.append( Extension('ucnhash', ['ucnhash.c']) )
|
||||
# access to ISO C locale support
|
||||
exts.append( Extension('_locale', ['_localemodule.c']) )
|
||||
|
||||
@ -540,11 +538,11 @@ class PyBuildExt(build_ext):
|
||||
|
||||
# XXX handle these, but how to detect?
|
||||
# *** Uncomment and edit for PIL (TkImaging) extension only:
|
||||
# -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
|
||||
# -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
|
||||
# *** Uncomment and edit for TOGL extension only:
|
||||
# -DWITH_TOGL togl.c \
|
||||
# -DWITH_TOGL togl.c \
|
||||
# *** Uncomment these for TOGL extension only:
|
||||
# -lGL -lGLU -lXext -lXmu \
|
||||
# -lGL -lGLU -lXext -lXmu \
|
||||
|
||||
def main():
|
||||
setup(name = 'Python standard library',
|
||||
|
Loading…
x
Reference in New Issue
Block a user