Ticket #456: patch-setup.py.diff
File patch-setup.py.diff, 734 bytes (added by ryanwilcox@…, 22 years ago) |
---|
-
setup.py
old new 8 8 9 9 from distutils.core import setup, Extension 10 10 from setupext import Data_Files, install_Data_Files, wininst_request_delete 11 from distutils.sysconfig import get_config_var s11 from distutils.sysconfig import get_config_var 12 12 13 13 # I want to override the default build directory so the extension 14 14 # modules are compiled and placed in the build/xml directory … … 56 56 sys.argv.remove(arg) 57 57 58 58 if sys.platform[:6] == "darwin" and \ 59 distutils.sysconfig.get_config_var("LDSHARED").find("-flat_namespace") == -1:59 get_config_var("LDSHARED").find("-flat_namespace") == -1: 60 60 # Mac OS X 61 61 LDFLAGS.append('-flat_namespace') 62 62