Ticket #16819: patch-setup.py.diff
File patch-setup.py.diff, 1018 bytes (added by nerdling (Jeremy Lavergne), 16 years ago) |
---|
-
setup.py
old new 12 12 from os import popen3, mkdir 13 13 from shutil import copy2 14 14 15 LIBIGRAPH_FALLBACK_INCLUDE_DIRS = [' /usr/include/igraph', '/usr/local/include/igraph']15 LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['@PREFIX@/include/igraph'] 16 16 LIBIGRAPH_FALLBACK_LIBRARIES = ['igraph'] 17 17 LIBIGRAPH_FALLBACK_LIBRARY_DIRS = [] 18 18 … … 94 94 95 95 plat = get_platform() 96 96 data_files = [] 97 if "macosx" in plat:98 data_files = [('/usr/lib', ['/usr/local/lib/libigraph.dylib', \99 '/usr/local/lib/libigraph.0.dylib', \100 '/usr/local/lib/libigraph.0.0.0.dylib'])]97 #if "macosx" in plat: 98 # data_files = [('/opt/local/lib', ['/opt/local/lib/libigraph.dylib', \ 99 # '/opt/local/lib/libigraph.0.dylib', \ 100 # '/opt/local/lib/libigraph.0.0.0.dylib'])] 101 101 102 102 setup(name = 'python-igraph', 103 103 version = '0.5.1',