[Python-checkins] r43722 - python/trunk/setup.py (original) (raw)
thomas.heller python-checkins at python.org
Fri Apr 7 21:27:56 CEST 2006
- Previous message: [Python-checkins] r43721 - python/trunk/setup.py
- Next message: [Python-checkins] buildbot failure in sparc Ubuntu dapper trunk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: thomas.heller Date: Fri Apr 7 21:27:56 2006 New Revision: 43722
Modified: python/trunk/setup.py Log: Don't try to build ctypes when configuration of libffi fails.
Modified: python/trunk/setup.py
--- python/trunk/setup.py (original) +++ python/trunk/setup.py Fri Apr 7 21:27:56 2006 @@ -181,7 +181,8 @@ def build_extension(self, ext):
if ext.name == '_ctypes':
self.configure_ctypes(ext)
if not self.configure_ctypes(ext):
return try: build_ext.build_extension(self, ext)
@@ -1287,7 +1288,7 @@ res = os.system(cmd) if res or not os.path.exists(ffi_configfile): print "Failed to configure _ctypes module"
return
return False fficonfig = {} execfile(ffi_configfile, globals(), fficonfig)
@@ -1303,6 +1304,7 @@ ext.sources.extend(fficonfig['ffi_sources']) ext.include_dirs.extend(include_dirs) ext.extra_compile_args.extend(extra_compile_args)
def detect_ctypes(self): include_dirs = []return True
- Previous message: [Python-checkins] r43721 - python/trunk/setup.py
- Next message: [Python-checkins] buildbot failure in sparc Ubuntu dapper trunk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]