Beispiel #1
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.etc_path = None
     self.var_path = None
     self.plugins_path = None
     self.owner = None
     self.group = None
Beispiel #2
0
  def initialize_options(self):
    """Set the default OpenMOC build options

    The default installation is invoked by following console command:

    python setup.py install

    This will build the main openmoc C/C++ Python extension using the
    GCC compiler with single precision. No additional modules will be
    build with Intel or IBM compilers, or with double precision.
    """

    # Run the install command parent class' initialize_options method
    install.initialize_options(self)

    # Default compiler and precision level for the main openmoc module
    self.cc = 'gcc'
    self.fp = 'single'

    # By default, do not build openmoc.gnu.single, openmoc.intel.double, etc
    # extension modules
    self.with_gcc = False
    self.with_icpc = False
    self.with_bgxlc = False
    self.with_cuda = False
    self.with_sp = False
    self.with_dp = False

    # Set defaults for each of the newly defined compile time options
    self.debug_mode = False
    self.with_ccache = False
    self.with_papi = False
    self.no_numpy = False
Beispiel #3
0
 def initialize_options(self):
     install.initialize_options(self)
     self.extra_compile_args = None
     self.extra_link_args = None
     self.with_mysql_capi = None
     self.byte_code_only = None
     self.static = None
Beispiel #4
0
    def initialize_options(self):
        """Set the default OpenMOC build options

    The default installation is invoked by following console command:

    python setup.py install

    This will build the main openmoc C/C++ Python extension using the
    GCC compiler with single precision. No additional modules will be
    build with Intel or IBM compilers, or with double precision.
    """

        # Run the install command parent class' initialize_options method
        install.initialize_options(self)

        # Default compiler and precision level for the main openmoc module
        self.cc = "gcc"
        self.fp = "single"

        # By default, do not build openmoc.gnu.single, openmoc.intel.double, etc
        # extension modules
        self.with_gcc = False
        self.with_icpc = False
        self.with_bgxlc = False
        self.with_cuda = False
        self.with_sp = False
        self.with_dp = False

        # Set defaults for each of the newly defined compile time options
        self.debug_mode = False
        self.with_ccache = False
        self.with_papi = False
        self.no_numpy = False
Beispiel #5
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.etc_path = None
     self.var_path = None
     self.plugins_path = None
     self.owner = None
     self.group = None
Beispiel #6
0
 def initialize_options(self):
     # Call the base class
     install.initialize_options(self)
     # and add our additionl options
     self.system = None
     self.patch = None
     self.skip_docs = False
     self.compress = False
 def initialize_options(self):
     # Call the base class
     install.initialize_options(self)
     # and add our additionl options
     self.system = None
     self.patch = None
     self.skip_docs = False
     self.compress = False
 def initialize_options(self):
     if not PY3:
         # Command is an old-style class in Python 2
         install.initialize_options(self)
     else:
         super().initialize_options()
     self.buildnum = None
     self.binstar_upload = False
 def initialize_options(self):
     if not PY3:
         # Command is an old-style class in Python 2
         install.initialize_options(self)
     else:
         super().initialize_options()
     self.buildnum = None
     self.binstar_upload = False
 def initialize_options(self):
     install.initialize_options(self)
     self.extra_compile_args = None
     self.with_mysql_capi = None
     self.with_protobuf_include_dir = None
     self.with_protobuf_lib_dir = None
     self.with_protoc = None
     self.byte_code_only = None
     self.static = None
Beispiel #11
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.etc_path = None
     self.var_path = None
     self.run_path = None
     self.log_path = None
     self.plugins_path = None
     self.owner = None
     self.group = None
     self.relocatable = None
Beispiel #12
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.etc_path = None
     self.var_path = None
     self.run_path = None
     self.log_path = None
     self.plugins_path = None
     self.owner = None
     self.group = None
     self.relocatable = None
 def initialize_options(self):
     install.initialize_options(self)
     self.extra_compile_args = None
     self.extra_link_args = None
     self.with_mysql_capi = None
     self.with_mysqlxpb_cext = False
     self.with_protobuf_include_dir = None
     self.with_protobuf_lib_dir = None
     self.with_protoc = None
     self.byte_code_only = None
     self.static = None
 def initialize_options(self):
     install.initialize_options(self)
     self.prefix = "/usr/local"
     # if self.sysconfdir is not a absolute path it will
     # be prefixed by self.prefix
     self.sysconfdir = "etc"
     self.disable_modules_check = 0
     self.disable_schemas_install = os.environ.get("GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL", 0)
     self.with_gconftool = os.environ.get("GCONFTOOL", commands.getoutput("which gconftool-2"))
     self.with_gconf_source = os.environ.get("GCONF_SCHEMA_CONFIG_SOURCE", "auto")
     self.with_gconf_schema_file_dir = os.environ.get("GCONF_SCHEMA_FILE_DIR", None)
     self.with_desktop_file_dir = "share/applications"
Beispiel #15
0
 def initialize_options(self):
     ### timekpr-related files/dirs
     self.log_file = None
     self.settings_dir = None
     self.work_dir = None
     self.shared_dir = None
     self.daemon_dir = None
     ### system files/dirs, used by timekpr
     self.login_defs = None
     self.pam_time_conf = None
     self.pam_access_conf = None
     install.initialize_options(self)
Beispiel #16
0
    def initialize_options(self):
        _install.initialize_options(self)

        # Another installation directories
        self.install_doc = None
        self.install_libexec = None
        self.install_localstate = None
        self.install_sysconf = None

        self.no_record = None
        self.no_check_deps = None

        # File path replacements
        self.config_dirs = None
Beispiel #17
0
 def initialize_options(self):
     install.initialize_options(self)
     self.prefix = '/usr'
     # if self.sysconfdir is not a absolute path it will
     # be prefixed by self.prefix
     self.sysconfdir = 'etc'
     self.disable_modules_check = 0
     self.disable_schemas_install = os.environ.get(
         'GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL', 0)
     self.with_gconftool = os.environ.get(
         'GCONFTOOL', commands.getoutput('which gconftool-2'))
     self.with_gconf_source = os.environ.get(
         'GCONF_SCHEMA_CONFIG_SOURCE', None)
     self.with_gconf_schema_file_dir = os.environ.get(
         'GCONF_SCHEMA_FILE_DIR', None)
Beispiel #18
0
    def initialize_options(self):
        """Set the default OpenRK build options
    The default installation is invoked by following console command:
    python setup.py install
    This will build the main openmoc C/C++ Python extension using the
    GCC compiler with single precision. No additional modules will be
    build with Intel or IBM compilers, or with double precision.
    """

        # Run the install command parent class' initialize_options method
        install.initialize_options(self)

        # Default compiler and precision level for the main openmoc module
        self.cc = 'gcc'

        # By default, do not build openmoc.gnu.single, openmoc.intel.double, etc
        # extension modules
        self.with_gcc = False
        self.with_ccache = True
Beispiel #19
0
  def initialize_options(self):
    """Set the default OpenRK build options
    The default installation is invoked by following console command:
    python setup.py install
    This will build the main openmoc C/C++ Python extension using the
    GCC compiler with single precision. No additional modules will be
    build with Intel or IBM compilers, or with double precision.
    """

    # Run the install command parent class' initialize_options method
    install.initialize_options(self)

    # Default compiler and precision level for the main openmoc module
    self.cc = 'gcc'
    
    # By default, do not build openmoc.gnu.single, openmoc.intel.double, etc
    # extension modules
    self.with_gcc = False
    self.with_ccache = False
Beispiel #20
0
 def initialize_options(self):
     install_org.initialize_options(self)
     self.prefix = prefix
Beispiel #21
0
 def initialize_options(self, *args, **kwargs):
     install.initialize_options(self, *args, **kwargs)
     self.no_prompt = None
Beispiel #22
0
 def initialize_options(self):
     install.initialize_options(self)
     self.with_mysql_capi = None
     self.byte_code_only = None
     self.static = None
Beispiel #23
0
 def initialize_options (self):
     install_org.initialize_options(self)
     self.prefix = prefix
Beispiel #24
0
 def initialize_options(self, *args, **kwargs):
     install.initialize_options(self, *args, **kwargs)
     self.no_prompt = None
Beispiel #25
0
 def initialize_options(self):
     """Initialize options"""
     _install.initialize_options(self)
     self.skip_profile = False
Beispiel #26
0
 def initialize_options(self):
     install.initialize_options(self)
     self.dev = 0
Beispiel #27
0
 def initialize_options(self):
     install_class.initialize_options(self)
     self.skip_xdg_cmd = 0
Beispiel #28
0
 def initialize_options(self):
   install.initialize_options(self)
   self.system = "Overview"
   self.patch = None
   self.skip_docs = False
   self.compress = False
Beispiel #29
0
 def initialize_options(self):
     install.initialize_options(self)
     self.pkgmaintainer = 0
Beispiel #30
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.old_and_unmanageable = None
     self.single_version_externally_managed = None
Beispiel #31
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.skip_profile = False
Beispiel #32
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.warn_dir = 0
Beispiel #33
0
 def initialize_options(self):
     self.chromedriver_version = None
     self.chromedriver_checksums = []
     install.initialize_options(self)
Beispiel #34
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.old_and_unmanageable = None
     self.single_version_externally_managed = None
     self.no_compile = None  # make DISTUTILS_DEBUG work right!
Beispiel #35
0
 def initialize_options(self):
     self.version = None
     _install.initialize_options(self)
Beispiel #36
0
 def initialize_options(self):
   install.initialize_options(self)
   self.man_page = None
   self.sample_path = None
Beispiel #37
0
    def initialize_options(self):
        install.initialize_options(self)

        for key, default in self.paths:
            setattr(self, key, default)
        self.subst_paths = {}
Beispiel #38
0
 def initialize_options(self):
     """initialize options"""
     _install.initialize_options(self)
     self.skip_profile = False
     self.root = None
     self.install_dir = None
Beispiel #39
0
 def initialize_options(self):
     install_org.initialize_options(self)
Beispiel #40
0
 def initialize_options(self):
     install.initialize_options(self)
     self.install_locales = None
     self.localedir = None
     self.disable_autoupdate = None
     self.disable_locales = None
Beispiel #41
0
 def initialize_options(self):
     self.root = None
     self.install_data = None
     _install.initialize_options(self)
Beispiel #42
0
 def initialize_options(self):
     install.initialize_options(self)
     self.twisted_plugins = None
Beispiel #43
0
 def initialize_options(self):
     install.initialize_options(self)
     self.passphrase = None
Beispiel #44
0
 def initialize_options(self):
     install.initialize_options(self)
     self.passphrase = None
     self.build_scripts = None
Beispiel #45
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.install_man = None
     self.install_data = None
     self.default_config = None
     self.docbook2man = None
Beispiel #46
0
 def initialize_options (self):
     install_org.initialize_options(self)
Beispiel #47
0
 def initialize_options(self):
     DistutilsInstall.initialize_options(self)
     # Create member variables for all of the custom options that
     # were added.
     for option in self.custom_options:
         setattr(self, option.replace('-', '_'), None)
Beispiel #48
0
	def initialize_options(self):
		install.initialize_options(self)

		for key, default in self.paths:
			setattr(self, key, default)
		self.subst_paths = {}
Beispiel #49
0
 def initialize_options(self):
     install.initialize_options(self)
     self.system = None
     self.patch = None
Beispiel #50
0
 def initialize_options(self):
     install.initialize_options(self)
     self.system = "CRABInterface"
     self.patch = None
     self.skip_docs = False
Beispiel #51
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.rpm_version = None
     self.gtk_version = None
     self.with_systemd = None
Beispiel #52
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.fake_root = False
Beispiel #53
0
 def initialize_options(self):
     install.initialize_options(self)
     self.single_version_externally_managed = None
Beispiel #54
0
 def initialize_options(self):
     self.version = None
     _install.initialize_options (self)
Beispiel #55
0
 def initialize_options(self):
   self.manprefix = None
   install.initialize_options(self)
Beispiel #56
0
 def initialize_options(self):
     self.install_man = None
     dftinstall.initialize_options(self)
Beispiel #57
0
 def initialize_options(self):
     install.initialize_options(self)
     self.single_version_externally_managed = None
Beispiel #58
0
 def initialize_options(self):
     distutils_install.initialize_options(self)
     self.mandir = None