Lines 25-49
Link Here
|
25 |
flags = flags + base_flags |
25 |
flags = flags + base_flags |
26 |
fflags = fflags + base_flags |
26 |
fflags = fflags + base_flags |
27 |
|
27 |
|
28 |
|
|
|
29 |
include_dirs = [] |
30 |
|
31 |
if os.path.isdir("/usr/include/python2.6"): |
32 |
include_dirs.append("/usr/include/python2.6") |
33 |
include_dirs.append("/usr/lib/python2.6/site-packages") |
34 |
elif os.path.isdir("/usr/include/python2.5"): |
35 |
include_dirs.append("/usr/include/python2.5") |
36 |
include_dirs.append("/usr/lib/python2.5/site-packages") |
37 |
elif os.path.isdir("/usr/include/python2.4"): |
38 |
include_dirs.append("/usr/include/python2.4") |
39 |
include_dirs.append("/usr/lib/python2.4/site-packages") |
40 |
elif os.path.isdir("/usr/include/python2.3"): |
41 |
include_dirs.append("/usr/include/python2.3") |
42 |
include_dirs.append("/usr/lib/python2.3/site-packages") |
43 |
else: |
44 |
print "Python dir not found!" |
45 |
sys.exit() |
46 |
|
47 |
dllsuffix = ".so" |
28 |
dllsuffix = ".so" |
48 |
strip_command = "" |
29 |
strip_command = "" |
49 |
extra_files = [("doc", ["docs/camfr.pdf"])] |
30 |
extra_files = [("doc", ["docs/camfr.pdf"])] |