/[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 211 by bh, Tue Jul 9 16:17:32 2002 UTC revision 212 by bh, Wed Jul 10 14:06:09 2002 UTC
# Line 43  if os.name == "posix": Line 43  if os.name == "posix":
43      proj4_lib = "proj"      proj4_lib = "proj"
44    
45    
46      # You shpuldn't have to modify anything below here      # You shouldn't have to modify anything below here
47      ###################################################################      ###################################################################
48            
49      # The installation prefix (similar to autoconf's --prefix). This is      # The installation prefix (similar to autoconf's --prefix). This is
# Line 54  if os.name == "posix": Line 54  if os.name == "posix":
54      # command completely independend of this one.      # command completely independend of this one.
55      prefix = "/usr/local/"      prefix = "/usr/local/"
56    
57        # Whether to create the thubaninit module. You can override this
58        # value on the commandline with the --create-init-module to the
59        # install command.
60        create_init_module = 1
61    
62      # On POSIX-systems we run wxgtk-config to determine the C++-compiler      # On POSIX-systems we run wxgtk-config to determine the C++-compiler
63      # flags      # flags
64      wx_config_script = "wx-config"      wx_config_script = "wx-config"
# Line 89  elif os.name == "nt": Line 94  elif os.name == "nt":
94      # the command line with the install command's --prefix option      # the command line with the install command's --prefix option
95      prefix = r"install"      prefix = r"install"
96    
97        # Whether to create the thubaninit module. You can override this
98        # value on the commandline with the --create-init-module to the
99        # install command. By default we don't create it under NT because we
100        # most often run install only as part of bdist_inno where we can't
101        # really create because it needs information only known at install
102        # time.
103        create_init_module = 0
104    
105      # There doesn't seem to be an easy way to get at the wx compiler      # There doesn't seem to be an easy way to get at the wx compiler
106      # flags, so we define them here. These flags work for us with      # flags, so we define them here. These flags work for us with
107      # wxPython 2.3.1. They may have to be modified for other versions.      # wxPython 2.3.1. They may have to be modified for other versions.
# Line 549  class ThubanInstall(install): Line 562  class ThubanInstall(install):
562                            " extra files to install "                            " extra files to install "
563                            "(can only be set from witin setup.py"),                            "(can only be set from witin setup.py"),
564    
565                           ("create-init-module", None,                           ("create-init-module=", None,
566                            "Create a module in the site-packages directory that"                            "If true, create a module in the site-packages"
567                            " tweaks sys.path to let you easily import thuban"                            " directory that tweaks sys.path to let you easily"
568                            " modules from outside of thuban."),                            " import thuban modules from outside of thuban."),
569                           ("init-module-dir", None,                           ("init-module-dir=", None,
570                            "Directory in which to create the init module."                            "Directory in which to create the init module."
571                            " Defaults to Python's site-packages directory."),                            " Defaults to Python's site-packages directory."),
572                                                    
# Line 566  class ThubanInstall(install): Line 579  class ThubanInstall(install):
579      def initialize_options(self):      def initialize_options(self):
580          self.do_symlink = None          self.do_symlink = None
581          self.extra_files = []          self.extra_files = []
582          self.create_init_module = 1  
583            # initialize the create_init_module flag from the global
584            # determined at runtime
585            self.create_init_module = create_init_module
586          self.init_module_dir = None          self.init_module_dir = None
587          install.initialize_options(self)          install.initialize_options(self)
588    
# Line 946  Thuban is a viewer for geographic data w Line 962  Thuban is a viewer for geographic data w
962  """  """
963    
964  setup(name = "Thuban",  setup(name = "Thuban",
965        version = "0.1.2",        version = "0.1.3cvs",
966        description = "Geographic data viewer",        description = "Geographic data viewer",
967        long_description = long_description,        long_description = long_description,
968        licence = "GPL",        licence = "GPL",

Legend:
Removed from v.211  
changed lines
  Added in v.212

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26