Ticket #813: patch-setup.py.diff

File patch-setup.py.diff, 734 bytes (added by robert@…, 21 years ago)

ATTACHMENT: devel/py21-pyxml-0.8.2 files

  • setup.py

    old new  
    88
    99from distutils.core import setup, Extension
    1010from setupext import Data_Files, install_Data_Files, wininst_request_delete
    11 from distutils.sysconfig import get_config_vars
     11from distutils.sysconfig import get_config_var
    1212
    1313# I want to override the default build directory so the extension
    1414# modules are compiled and placed in the build/xml directory
     
    5656        sys.argv.remove(arg)
    5757
    5858if 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:
    6060    # Mac OS X
    6161    LDFLAGS.append('-flat_namespace')
    6262