/[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 253 by bh, Wed Aug 14 13:38:45 2002 UTC revision 348 by bh, Wed Oct 23 14:45:57 2002 UTC
# Line 671  class ThubanInstall(install): Line 671  class ThubanInstall(install):
671                  src, dest = item                  src, dest = item
672              else:              else:
673                  src = dest = item                  src = dest = item
674              self.copy_file(convert_path(src),              self.copy_file(convert_path(src),
675                             os.path.join(self.root, convert_path(dest)))                             os.path.join(self.root, convert_path(dest)))
676    
677          if os.name == "posix" and self.do_symlink:          if os.name == "posix" and self.do_symlink:
# Line 691  class ThubanInstall(install): Line 691  class ThubanInstall(install):
691              initfilename = self.thuban_init_filename()              initfilename = self.thuban_init_filename()
692              if self.root:              if self.root:
693                  initfilename = change_root(self.root, initfilename)                  initfilename = change_root(self.root, initfilename)
694              contents = thubaninit_contents(repr(self.install_lib_orig))              contents = thubaninit_contents(self.install_lib_orig)
695              self.mkpath(os.path.dirname(initfilename))              self.mkpath(os.path.dirname(initfilename))
696              self.execute(write_file, (initfilename, contents),              self.execute(write_file, (initfilename, contents),
697                           "Create %s" % initfilename)                           "Create %s" % initfilename)
# Line 753  bdist_rpm_install_script = ''' Line 753  bdist_rpm_install_script = '''
753     --prefix=%(prefix)s     --prefix=%(prefix)s
754  '''  '''
755    
756        
757  class thuban_bdist_rpm(bdist_rpm):  class thuban_bdist_rpm(bdist_rpm):
758    
759      """Thuban specific RPM distribution command"""      """Thuban specific RPM distribution command"""
# Line 887  class bdist_inno(Command): Line 887  class bdist_inno(Command):
887          self.execute(write_file, (iss_file, self.generate_iss()),          self.execute(write_file, (iss_file, self.generate_iss()),
888                       "Create Inno Setup script file %s" % iss_file)                       "Create Inno Setup script file %s" % iss_file)
889    
890          # and invoke          # and invoke
891          if self.run_inno:          if self.run_inno:
892              self.spawn(["iscc", iss_file])              self.spawn(["iscc", iss_file])
893    
# Line 953  class bdist_inno(Command): Line 953  class bdist_inno(Command):
953              line = 'Name: "{group}\\%s"; Filename: "%s";' \              line = 'Name: "{group}\\%s"; Filename: "%s";' \
954                     % (icon.title, icon.install_name)                     % (icon.title, icon.install_name)
955              iss.append(line)              iss.append(line)
956                
957          return iss          return iss
958    
959    
# Line 969  class InnoIconItem: Line 969  class InnoIconItem:
969          else:          else:
970              self.install_name = filename              self.install_name = filename
971    
972                
973  class thuban_bdist_inno(bdist_inno):  class thuban_bdist_inno(bdist_inno):
974    
975      """Thuban specific Inno Setup stuff"""      """Thuban specific Inno Setup stuff"""
# Line 985  class thuban_bdist_inno(bdist_inno): Line 985  class thuban_bdist_inno(bdist_inno):
985          # that we can generate the iss-file even on Linux          # that we can generate the iss-file even on Linux
986          install_options["do_symlink"] = 0          install_options["do_symlink"] = 0
987          bdist_inno.run(self, install_options)          bdist_inno.run(self, install_options)
988        
989                
990  #  #
991  #   Run the script  #   Run the script
992  #  #
# Line 997  Thuban is a viewer for geographic data w Line 997  Thuban is a viewer for geographic data w
997  """  """
998    
999  setup(name = "Thuban",  setup(name = "Thuban",
1000        version = "0.1.3cvs",        version = "0.1.3",
1001        description = "Geographic data viewer",        description = "Geographic data viewer",
1002        long_description = long_description,        long_description = long_description,
1003        licence = "GPL",        licence = "GPL",

Legend:
Removed from v.253  
changed lines
  Added in v.348

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26