python: another conflict on API version between pypi & v3 branch
This commit is contained in:
parent
aac18de793
commit
f051e8fd8e
|
@ -14,6 +14,7 @@ from distutils.core import setup
|
|||
VERSION = '3.0'
|
||||
SYSTEM = platform.system().lower()
|
||||
|
||||
|
||||
class LazyList(list):
|
||||
"""A list which re-evaluates each time.
|
||||
|
||||
|
@ -103,6 +104,10 @@ class custom_build_clib(build_clib):
|
|||
|
||||
log.info("building '%s' library", lib_name)
|
||||
|
||||
# Darwin systems must produce shared libraries with this extension.
|
||||
if "darwin" in SYSTEM:
|
||||
self.compiler.shared_lib_extension = ".dynlib"
|
||||
|
||||
# First, compile the source code to object files in the
|
||||
# library directory.
|
||||
macros = build_info.get('macros')
|
||||
|
|
Loading…
Reference in New Issue