Пример #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
Пример #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
Пример #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
Пример #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
Пример #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
Пример #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
Пример #7
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
Пример #8
0
 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
Пример #9
0
 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
Пример #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
Пример #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"
Пример #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)
Пример #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
Пример #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)
Пример #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
Пример #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
Пример #20
0
 def initialize_options(self):
     install_org.initialize_options(self)
     self.prefix = prefix
Пример #21
0
 def initialize_options(self, *args, **kwargs):
     install.initialize_options(self, *args, **kwargs)
     self.no_prompt = None
Пример #22
0
 def initialize_options(self):
     install.initialize_options(self)
     self.with_mysql_capi = None
     self.byte_code_only = None
     self.static = None
Пример #23
0
 def initialize_options (self):
     install_org.initialize_options(self)
     self.prefix = prefix
Пример #24
0
 def initialize_options(self, *args, **kwargs):
     install.initialize_options(self, *args, **kwargs)
     self.no_prompt = None
Пример #25
0
 def initialize_options(self):
     """Initialize options"""
     _install.initialize_options(self)
     self.skip_profile = False
Пример #26
0
 def initialize_options(self):
     install.initialize_options(self)
     self.dev = 0
Пример #27
0
 def initialize_options(self):
     install_class.initialize_options(self)
     self.skip_xdg_cmd = 0
Пример #28
0
 def initialize_options(self):
   install.initialize_options(self)
   self.system = "Overview"
   self.patch = None
   self.skip_docs = False
   self.compress = False
Пример #29
0
 def initialize_options(self):
     install.initialize_options(self)
     self.pkgmaintainer = 0
Пример #30
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.old_and_unmanageable = None
     self.single_version_externally_managed = None
Пример #31
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.skip_profile = False
Пример #32
0
 def initialize_options(self):
     _install.initialize_options(self)
     self.warn_dir = 0
Пример #33
0
 def initialize_options(self):
     self.chromedriver_version = None
     self.chromedriver_checksums = []
     install.initialize_options(self)
Пример #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!
Пример #35
0
 def initialize_options(self):
     self.version = None
     _install.initialize_options(self)
Пример #36
0
 def initialize_options(self):
   install.initialize_options(self)
   self.man_page = None
   self.sample_path = None
Пример #37
0
    def initialize_options(self):
        install.initialize_options(self)

        for key, default in self.paths:
            setattr(self, key, default)
        self.subst_paths = {}
Пример #38
0
 def initialize_options(self):
     """initialize options"""
     _install.initialize_options(self)
     self.skip_profile = False
     self.root = None
     self.install_dir = None
Пример #39
0
 def initialize_options(self):
     install_org.initialize_options(self)
Пример #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
Пример #41
0
 def initialize_options(self):
     self.root = None
     self.install_data = None
     _install.initialize_options(self)
Пример #42
0
 def initialize_options(self):
     install.initialize_options(self)
     self.twisted_plugins = None
Пример #43
0
 def initialize_options(self):
     install.initialize_options(self)
     self.passphrase = None
Пример #44
0
 def initialize_options(self):
     install.initialize_options(self)
     self.passphrase = None
     self.build_scripts = None
Пример #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
Пример #46
0
 def initialize_options (self):
     install_org.initialize_options(self)
Пример #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)
Пример #48
0
	def initialize_options(self):
		install.initialize_options(self)

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