/[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 1291 by jonathan, Mon Jun 23 13:05:32 2003 UTC revision 1614 by jan, Tue Aug 19 21:56:20 2003 UTC
# Line 89  elif os.name == "nt": Line 89  elif os.name == "nt":
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"D:\cygwin\home\user\project\greater\wxPython-2.4.0.4"      wx_prefix = r"C:\wx-versions\wxPython-2.4.0.6"
93      wx_prefix = r"D:\wx-sources\wxPythonSrc-2.4.0.7"      wx_inc = [os.path.join(wx_prefix, 'lib', 'mswdllh'),
     wx_inc = [os.path.join(wx_prefix, 'lib', 'mswdll'),  
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    
# Line 151  elif os.name == "nt": Line 150  elif os.name == "nt":
150            
151      wx_cs_params[CS_INCDIRS] = wx_inc      wx_cs_params[CS_INCDIRS] = wx_inc
152      wx_cs_params[CS_LIBDIRS] = wx_lib      wx_cs_params[CS_LIBDIRS] = wx_lib
153      wx_cs_params[CS_LIBS] = ["wxmsw24"] \      wx_cs_params[CS_LIBS] = ["wxmsw24h"] \
154                        + ['kernel32', 'user32', 'gdi32', 'comdlg32',                        + ['kernel32', 'user32', 'gdi32', 'comdlg32',
155                           'winspool', 'winmm', 'shell32', 'oldnames',                           'winspool', 'winmm', 'shell32', 'oldnames',
156                           'comctl32', 'ctl3d32', 'odbc32', 'ole32', 'oleaut32',                           'comctl32', 'ctl3d32', 'odbc32', 'ole32', 'oleaut32',
# Line 231  if gdal_config_script: Line 230  if gdal_config_script:
230  #  #
231  # Define some extension and python modules  # Define some extension and python modules
232  #  #
233  # The C-extension names are prefixed woth "Lib." so they get put into  # The C-extension names are prefixed with "Lib." so they get put into
234  # the Lib/ subdirectory. Lib/ is not really a package but distutils  # the Lib/ subdirectory. Lib/ is not really a package but distutils
235  # doesn't care  # doesn't care
236    
237  # subdirectory containing the extensions  # subdirectory containing the distutil extensions
238  ext_dir = "extensions"  ext_dir = "libraries"
239    
240  # subdirectory with some shapelib files  # subdirectory with some shapelib files
241  shp_dir = ext_dir + "/shapelib"  shp_dir = ext_dir + "/shapelib"
# Line 297  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")  # ("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/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 782  class ThubanInstall(install): Line 783  class ThubanInstall(install):
783    
784  bdist_rpm_prep_script = '''  bdist_rpm_prep_script = '''
785  %setup  %setup
786  cp extensions/pyshapelib/{README,README.pyshapelib}  cp libraries/pyshapelib/{README,README.pyshapelib}
787  cp extensions/pyshapelib/{COPYING,COPYING.pyshapelib}  cp libraries/pyshapelib/{COPYING,COPYING.pyshapelib}
788  cp extensions/pyprojection/{LICENSE,LICENSE.pyprojection}  cp libraries/pyprojection/{LICENSE,LICENSE.pyprojection}
789  '''  '''
790    
791  bdist_rpm_build_script = '''  bdist_rpm_build_script = '''
# Line 1096  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.8.0",        version = "0.8.1",
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.1291  
changed lines
  Added in v.1614

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26