/[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 1229 by jonathan, Wed Jun 18 14:46:30 2003 UTC revision 1313 by jonathan, Mon Jun 30 08:54:52 2003 UTC
# Line 83  elif os.name == "nt": Line 83  elif os.name == "nt":
83      #      #
84            
85      # Directories where Proj4 is installed      # Directories where Proj4 is installed
86      proj4_prefix = r"D:\cygwin\home\user\proj-4.4.3\src"      proj4_prefix = r"D:\cygwin\home\user\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      # Define include and lib directories for wxWindows and
92      wx_prefix = r"D:\wx240"      wx_prefix = r"C:\wx-versions\wxPython-2.4.0.6"
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")]
# Line 100  elif os.name == "nt": Line 100  elif os.name == "nt":
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'),
102                  os.path.join(gdal_prefix, 'core')]                  os.path.join(gdal_prefix, 'core')]
103      gdal_lib = gdal_prefix      gdal_lib = [gdal_prefix]
104    
105      #      #
106      # Unless you use a wxPython version other than 2.4.0, you probably      # Unless you use a wxPython version other than 2.4.0, you probably
# Line 296  py_modules.append(ext_dir + "/pyprojecti Line 296  py_modules.append(ext_dir + "/pyprojecti
296    
297  data_files = []  data_files = []
298    
299  # bitmaps  # Resources
300    # ("Resources/Locale", "Resources/Locale/*/LC_MESSAGES/*.mo")
301  for d, pattern in [("Resources/Bitmaps", "Resources/Bitmaps/*.xpm"),  for d, pattern in [("Resources/Bitmaps", "Resources/Bitmaps/*.xpm"),
302                     ("Resources/Locale", "Resources/Locale/*/LC_MESSAGES/*.mo")                     ("Resources/Projections", "Resources/Projections/*.proj"),
303                     ]:                     ("Resources/XML", "Resources/XML/*.dtd")]:
304      data_files.append((d, glob.glob(pattern)))      data_files.append((d, glob.glob(pattern)))
305    
306  #  #
# Line 1078  class thuban_build_ext(build_ext): Line 1079  class thuban_build_ext(build_ext):
1079                                  [ext_dir + "/thuban/gdalwarp.cpp",                                  [ext_dir + "/thuban/gdalwarp.cpp",
1080                                  ext_dir + "/thuban/cpl_mfile.cpp",                                  ext_dir + "/thuban/cpl_mfile.cpp",
1081                                  ext_dir + "/thuban/bmpdataset.cpp"],                                  ext_dir + "/thuban/bmpdataset.cpp"],
1082                                  include_dirs = ([gdal_cs_params[CS_INCDIRS],                                  include_dirs = gdal_cs_params[CS_INCDIRS] +
1083                                                  ext_dir + "/thuban/"]),                                                 [ext_dir + "/thuban/"],
1084                                  define_macros = gdal_cs_params[CS_DEFS],                                  define_macros = gdal_cs_params[CS_DEFS],
1085                                  library_dirs = gdal_cs_params[CS_LIBDIRS],                                  library_dirs = gdal_cs_params[CS_LIBDIRS],
1086                                  libraries = [proj4_lib] +                                  libraries = gdal_cs_params[CS_LIBS]))
                                             gdal_cs_params[CS_LIBS]))  
1087    
1088      def run(self, install_options = None):      def run(self, install_options = None):
1089          build_ext.run(self)          build_ext.run(self)
# Line 1097  Thuban is a viewer for geographic data w Line 1097  Thuban is a viewer for geographic data w
1097  """  """
1098    
1099  setup(name = "Thuban",  setup(name = "Thuban",
1100        version = "0.2.0",        version = "0.8.0",
1101        description = "Geographic data viewer",        description = "Geographic data viewer",
1102        long_description = long_description,        long_description = long_description,
1103        licence = "GPL",        licence = "GPL",

Legend:
Removed from v.1229  
changed lines
  Added in v.1313

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26