Ticket #16819: patch-setup.py

File patch-setup.py, 1020 bytes (added by stromnov (Andrey Stromnov), 16 years ago)

build patch

Line 
1--- setup.py.orig       2008-10-11 01:19:58.000000000 +0400
2+++ setup.py    2008-10-11 01:20:55.000000000 +0400
3@@ -12,7 +12,7 @@
4 from os import popen3, mkdir
5 from shutil import copy2
6 
7-LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['/usr/include/igraph', '/usr/local/include/igraph']
8+LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['/opt/local/include/igraph']
9 LIBIGRAPH_FALLBACK_LIBRARIES = ['igraph']
10 LIBIGRAPH_FALLBACK_LIBRARY_DIRS = []
11 
12@@ -94,10 +94,10 @@
13 
14 plat = get_platform()
15 data_files = []
16-if "macosx" in plat:
17-    data_files = [('/usr/lib', ['/usr/local/lib/libigraph.dylib', \
18-                                '/usr/local/lib/libigraph.0.dylib', \
19-                                '/usr/local/lib/libigraph.0.0.0.dylib'])]
20+#if "macosx" in plat:
21+#    data_files = [('/opt/local/lib', ['/opt/local/lib/libigraph.dylib', \
22+#                                '/opt/local/lib/libigraph.0.dylib', \
23+#                                '/opt/local/lib/libigraph.0.0.0.dylib'])]
24 
25 setup(name = 'python-igraph',
26       version = '0.5.1',