83 |
# |
# |
84 |
|
|
85 |
# Directories where Proj4 is installed |
# Directories where Proj4 is installed |
86 |
proj4_prefix = r"D:\cygwin\home\user\proj-4.4.7\src" |
proj4_prefix = r"D:\cygwin\home\user\projects\thuban\proj-4.4.7\src" |
87 |
proj4_incdir = proj4_prefix |
proj4_incdir = proj4_prefix |
88 |
proj4_libdir = proj4_prefix |
proj4_libdir = proj4_prefix |
89 |
proj4_lib = "proj_i" |
proj4_lib = "proj_i" |
90 |
|
|
91 |
# Define include and lib directories for wxWindows and |
# Define include and lib directories for wxWindows and |
92 |
wx_prefix = r"C:\wx-versions\wxPython-2.4.0.6" |
wx_prefix = r"d:\cygwin\home\user\projects\thuban\wxPython-2.4.0.7" |
93 |
wx_inc = [os.path.join(wx_prefix, 'lib', 'mswdllh'), |
wx_inc = [os.path.join(wx_prefix, 'lib', 'mswdllh'), |
94 |
os.path.join(wx_prefix, "include")] |
os.path.join(wx_prefix, "include")] |
95 |
wx_lib = [os.path.join(wx_prefix, "lib")] |
wx_lib = [os.path.join(wx_prefix, "lib")] |
96 |
|
|
97 |
# Define include and lib directories for GDAL |
# Define include and lib directories for GDAL |
98 |
gdal_prefix = r"D:\cygwin\home\user\build\gdal-1.1.8" |
gdal_prefix = r"D:\cygwin\home\user\projects\thuban\gdal-1.1.8" |
99 |
gdal_inc = [os.path.join(gdal_prefix, 'alg'), |
gdal_inc = [os.path.join(gdal_prefix, 'alg'), |
100 |
os.path.join(gdal_prefix, 'ogr'), |
os.path.join(gdal_prefix, 'ogr'), |
101 |
os.path.join(gdal_prefix, 'port'), |
os.path.join(gdal_prefix, 'port'), |
301 |
("Resources/Projections", "Resources/Projections/*.proj"), |
("Resources/Projections", "Resources/Projections/*.proj"), |
302 |
("Resources/XML", "Resources/XML/*.dtd")]: |
("Resources/XML", "Resources/XML/*.dtd")]: |
303 |
data_files.append((d, glob.glob(pattern))) |
data_files.append((d, glob.glob(pattern))) |
304 |
for d in os.listdir("Resources/Locale"): |
if os.path.isdir("Resources/Locale"): |
305 |
data_files.append(("Resources/Locale/" + d + "/LC_MESSAGES", |
for d in os.listdir("Resources/Locale"): |
306 |
["Resources/Locale/"+ d + "/LC_MESSAGES/thuban.mo"])) |
data_files.append(("Resources/Locale/" + d +"/LC_MESSAGES", |
307 |
|
["Resources/Locale/"+ d +"/LC_MESSAGES/thuban.mo"])) |
308 |
|
|
309 |
# |
# |
310 |
# Command definitions |
# Command definitions |
1100 |
""" |
""" |
1101 |
|
|
1102 |
setup(name = "Thuban", |
setup(name = "Thuban", |
1103 |
version = "0.9.0", |
version = "1.0rc1", |
1104 |
description = "Geographic data viewer", |
description = "Geographic data viewer", |
1105 |
long_description = long_description, |
long_description = long_description, |
1106 |
licence = "GPL", |
licence = "GPL", |
1107 |
author = "Intevation GmbH", |
author = "Intevation GmbH", |
1108 |
author_email = "[email protected]", |
author_email = "[email protected]", |
1109 |
url = "http://thuban.intevation.de/", |
url = "http://thuban.intevation.de/", |
1110 |
|
|
1111 |
scripts = ["thuban.py"], |
scripts = ["thuban.py"], |