/[thuban]/branches/WIP-pyshapelib-bramz/setup.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/setup.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2002 by bh, Mon Dec 1 19:45:10 2003 UTC revision 2212 by bh, Mon May 17 15:47:57 2004 UTC
# Line 1  Line 1 
1  # Copyright (c) 2001, 2002, 2003 by Intevation GmbH  # Copyright (c) 2001, 2002, 2003, 2004 by Intevation GmbH
2  # Authors:  # Authors:
3  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
4  #  #
# Line 275  extensions.append(Extension("Lib.shptree Line 275  extensions.append(Extension("Lib.shptree
275  extensions.append(Extension("Lib.dbflibc",  extensions.append(Extension("Lib.dbflibc",
276                              [ext_dir + "/pyshapelib/dbflib_wrap.c",                              [ext_dir + "/pyshapelib/dbflib_wrap.c",
277                               shp_dir + "/dbfopen.c"],                               shp_dir + "/dbfopen.c"],
278                              include_dirs = [shp_dir]))                              include_dirs = [shp_dir],
279                                define_macros = [("HAVE_UPDATE_HEADER", "1")]))
280  for name in ("shapelib", "dbflib"):  for name in ("shapelib", "dbflib"):
281      py_modules.append(ext_dir + "/pyshapelib/" + name)      py_modules.append(ext_dir + "/pyshapelib/" + name)
282    
# Line 297  py_modules.append(ext_dir + "/pyprojecti Line 298  py_modules.append(ext_dir + "/pyprojecti
298  data_files = []  data_files = []
299    
300  # Resources  # Resources
301  for d, pattern in [("Resources/Bitmaps", "Resources/Bitmaps/*.xpm"),  for d, patterns in [("Resources/Bitmaps",
302                     ("Resources/Projections", "Resources/Projections/*.proj"),                      ("Resources/Bitmaps/*.xpm",)),
303                     ("Resources/XML", "Resources/XML/*.dtd")]:                     ("Resources/Projections",
304      data_files.append((d, glob.glob(pattern)))                      ("Resources/Projections/*.proj",)),
305                       ("Resources/XML",
306                        ("Resources/XML/*.dtd",)),
307                       ("Extensions/importAPR/samples",
308                        ("Extensions/importAPR/samples/README",
309                         "Extensions/importAPR/samples/*.apr")),
310                       ]:
311        for pattern in patterns:
312            data_files.append((d, glob.glob(pattern)))
313  if os.path.isdir("Resources/Locale"):  if os.path.isdir("Resources/Locale"):
314      for d in os.listdir("Resources/Locale"):      for d in os.listdir("Resources/Locale"):
315          data_files.append(("Resources/Locale/" + d +"/LC_MESSAGES",          data_files.append(("Resources/Locale/" + d +"/LC_MESSAGES",
# Line 1100  Thuban is a viewer for geographic data w Line 1109  Thuban is a viewer for geographic data w
1109  """  """
1110    
1111  setup(name = "Thuban",  setup(name = "Thuban",
1112        version = "1.0rc1",        version = "1.0.0",
1113        description = "Geographic data viewer",        description = "Geographic data viewer",
1114        long_description = long_description,        long_description = long_description,
1115        licence = "GPL",        license = "GPL",
1116        author = "Intevation GmbH",        author = "Intevation GmbH",
1117        author_email = "[email protected]",        author_email = "[email protected]",
1118        url = "http://thuban.intevation.de/",        url = "http://thuban.intevation.de/",
1119    
1120        scripts = ["thuban.py"],        scripts = ["thuban.py"],
1121        packages = ["Thuban", "Thuban.Lib", "Thuban.Model", "Thuban.UI"],        packages = ["Thuban", "Thuban.Lib", "Thuban.Model", "Thuban.UI",
1122                      "Extensions", "Extensions.gns2shp", "Extensions.wms",
1123                      "Extensions.importAPR", "Extensions.profiling"],
1124        ext_modules = extensions,        ext_modules = extensions,
1125        py_modules = py_modules,        py_modules = py_modules,
1126        data_files = data_files,        data_files = data_files,

Legend:
Removed from v.2002  
changed lines
  Added in v.2212

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26