Ticket #20299: patch-setup.py

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

files/patch-setup.py

Line 
1--- setup.py.orig       2009-07-14 15:18:20.000000000 +0400
2+++ setup.py    2009-07-14 15:21:18.000000000 +0400
3@@ -8,10 +8,10 @@
4 
5 
6 VERSION = '0.8.1'
7-ICU_VERSION = '3.8'   # version 3.6 is also supported
8+ICU_VERSION = '4.2'   # version 3.6 is also supported
9 
10 INCLUDES = {
11-    'darwin': ['/usr/local/icu-%s/include' %(ICU_VERSION)],
12+    'darwin': ['@PREFIX@/include'],
13     'linux2': [],
14     'win32': [],
15 }
16@@ -23,7 +23,7 @@
17 }
18 
19 LFLAGS = {
20-    'darwin': ['-L/usr/local/icu-%s/lib' %(ICU_VERSION)],
21+    'darwin': ['-L@PREFIX@/lib'],
22     'linux2': [],
23     'win32': [],
24 }