1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- a/setup.py
+++ b/setup.py
@@ -163,22 +163,6 @@
if self.L is None:
L = []
I = []
- if platform == "cygwin":
- aDir(L, os.path.join("/usr/lib", "python%s" % sys.version[:3], "config"))
- elif platform == "darwin":
- # attempt to make sure we pick freetype2 over other versions
- aDir(I, "/sw/include/freetype2")
- aDir(I, "/sw/lib/freetype2/include")
- # fink installation directories
- aDir(L, "/sw/lib")
- aDir(I, "/sw/include")
- # darwin ports installation directories
- aDir(L, "/opt/local/lib")
- aDir(I, "/opt/local/include")
- aDir(I, "/usr/local/include")
- aDir(L, "/usr/local/lib")
- aDir(I, "/usr/include")
- aDir(L, "/usr/lib")
aDir(I, "/usr/include/freetype2")
prefix = sysconfig.get_config_var("prefix")
if prefix:
@@ -574,7 +558,7 @@
SOURCES,
include_dirs=[RENDERPM,LIBART_INC,GT1_DIR]+FT_INC_DIR,
define_macros=FT_MACROS+[('LIBART_COMPILATION',None)]+debug_macros+[('LIBART_VERSION',LIBART_VERSION)],
- library_dirs=[]+FT_LIB_DIR,
+ library_dirs=[],
# libraries to link against
libraries=FT_LIB+LIBART_LIB,
|