• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python install.initialize_options函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中setuptools.command.install.install.initialize_options函数的典型用法代码示例。如果您正苦于以下问题:Python initialize_options函数的具体用法?Python initialize_options怎么用?Python initialize_options使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了initialize_options函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: initialize_options

 def initialize_options(self):
     _install.initialize_options(self)
     self.lnx_distro = DISTRO_NAME
     self.lnx_distro_version = DISTRO_VERSION
     self.lnx_distro_fullname = DISTRO_FULL_NAME
     self.register_service = False
     self.skip_data_files = False
开发者ID:Azure,项目名称:WALinuxAgent,代码行数:7,代码来源:setup.py


示例2: initialize_options

 def initialize_options(self):
     _install.initialize_options(self)
     self.rpm_version = None
     self.gtk_version = None
     self.with_systemd = None
     self.with_subman_gui = None
     self.with_cockpit_desktop_entry = None
开发者ID:candlepin,项目名称:subscription-manager,代码行数:7,代码来源:setup.py


示例3: initialize_options

    def initialize_options(self):
        orig_install.initialize_options(self)
        name = self.distribution.metadata.name

        contents = PTH % open("ohai.dat").read()
        contents = "import sys; exec(%r)\n" % contents
        self.extra_path = (name, contents)
开发者ID:bukzor,项目名称:ohai,代码行数:7,代码来源:setup.py


示例4: initialize_options

 def initialize_options(self):
     self.install_qlib = None
     self.build_qlib = None
     self.build_exe = None
     self.install_exe = None
     self.install_qext = None
     self.build_qext = None
     _install.initialize_options(self)
开发者ID:zjc5415,项目名称:pyq,代码行数:8,代码来源:setup.py


示例5: initialize_options

 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
开发者ID:Omega-Cube,项目名称:shinken,代码行数:9,代码来源:setuppackage.py


示例6: initialize_options

    def initialize_options(self):
        install.initialize_options(self)
        self._spinnaker_dir = None
        self._spinnaker_init = None

        import pyNN
        pynn_path = os.path.dirname(pyNN.__file__)
        self._spinnaker_dir = os.path.join(pynn_path, "spiNNaker")
        self._spinnaker_init = os.path.join(self._spinnaker_dir, "__init__.py")
开发者ID:SpikeFrame,项目名称:sPyNNaker,代码行数:9,代码来源:setup.py


示例7: initialize_options

 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
开发者ID:sanpingz,项目名称:mysql-connector,代码行数:9,代码来源:cpy_distutils.py


示例8: initialize_options

 def initialize_options(self):
     install.initialize_options(self)
     self.salt_root_dir = ROOT_DIR
     self.salt_config_dir = CONFIG_DIR
     self.salt_cache_dir = CACHE_DIR
     self.salt_sock_dir = SOCK_DIR
     self.salt_srv_root_dir = SRV_ROOT_DIR
     self.salt_base_file_roots_dir = BASE_FILE_ROOTS_DIR
     self.salt_base_pillar_roots_dir = BASE_PILLAR_ROOTS_DIR
     self.salt_base_master_roots_dir = BASE_MASTER_ROOTS_DIR
     self.salt_logs_dir = LOGS_DIR
     self.salt_pidfile_dir = PIDFILE_DIR
开发者ID:joehealy,项目名称:pkg-salt,代码行数:12,代码来源:setup.py


示例9: initialize_options

 def initialize_options(self):
     install.initialize_options(self)
     self.mingw = 0
     self.gpu = 0
     self.boost_root = None
     self.boost_dir = None
     self.boost_include_dir = None
     self.boost_librarydir = None
     self.opencl_include_dir = None
     self.opencl_library = None
     self.mpi = 0
     self.hdfs = 0
     self.precompile = 0
开发者ID:hubei2626662,项目名称:LightGBM,代码行数:13,代码来源:setup.py


示例10: initialize_options

 def initialize_options(self):
     self.kdu_expand = KDU_EXPAND_DEFAULT
     self.libkdu = LIBKDU_DEFAULT
     self.source_images = SOURCE_IMAGE_DIR_DEFAULT
     self.image_cache = IMAGE_CACHE_DIR_DEFAULT
     self.info_cache = INFO_CACHE_DIR_DEFAULT
     self.tmp_dir = TMP_DIR_DEFAULT
     self.www_dir = WWW_DIR_DEFAULT
     self.log_dir = LOG_DIR_DEFAULT
     self.config_dir = CONFIG_DIR_DEFAULT
     self.loris_owner = USER_DEFAULT
     self.loris_group = GROUP_DEFAULT
     install.initialize_options(self)
开发者ID:kebe,项目名称:loris,代码行数:13,代码来源:setup.py


示例11: initialize_options

 def initialize_options(self):
     install.initialize_options(self)
     # pylint: disable=undefined-variable
     if __saltstack_version__.info >= SaltStackVersion.from_name('Boron'):
         # XXX: Remove the Salt Specific Options In Salt Boron. They are now global options
         raise DistutilsArgError(
             'Developers, please remove the salt paths configuration '
             'setting from the setup\'s install command'
         )
     # pylint: enable=undefined-variable
     self.salt_root_dir = None
     self.salt_config_dir = None
     self.salt_cache_dir = None
     self.salt_sock_dir = None
     self.salt_srv_root_dir = None
     self.salt_base_file_roots_dir = None
     self.salt_base_pillar_roots_dir = None
     self.salt_base_master_roots_dir = None
     self.salt_logs_dir = None
     self.salt_pidfile_dir = None
开发者ID:dmyerscough,项目名称:salt,代码行数:20,代码来源:setup.py


示例12: initialize_options

  def initialize_options(self):
    """Set the default OpenMOC build options

    The default installation is invoked by following console command:

    python setup.py install

    By default, this will build the main openmoc C/C++ Python extension using
    the GCC compiler with single precision (default).
    """

    # 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'

    # Set defaults for each of the newly defined compile time options
    self.with_cuda = False
    self.debug_mode = False
    self.profile_mode = False
    self.with_ccache = False
开发者ID:geogunow,项目名称:OpenMOC,代码行数:23,代码来源:setup.py


示例13: initialize_options

 def initialize_options(self):
     install.initialize_options(self)
     self.lua_system_path = None
开发者ID:BeeswaxIO,项目名称:aerospike-client-python,代码行数:3,代码来源:setup.py


示例14: initialize_options

 def initialize_options(self, *arg, **kw):
     install.initialize_options(self, *arg, **kw)
     self.plugins = None
     self.web = None
开发者ID:richstoner,项目名称:girder,代码行数:4,代码来源:setup.py


示例15: initialize_options

 def initialize_options(self):
     install.initialize_options(self)
开发者ID:project-fifo,项目名称:pyfi,代码行数:2,代码来源:setup.py


示例16: initialize_options

 def initialize_options(self):
     self.install_etc = None
     install.initialize_options(self)
开发者ID:mdpiper,项目名称:wmt-exe,代码行数:3,代码来源:install.py


示例17: initialize_options

 def initialize_options(self):
     install_.initialize_options(self)
     self.h5plugin = False
     self.h5plugin_dir = H5PLUGINS_DEFAULT
开发者ID:leosala,项目名称:bitshuffle,代码行数:4,代码来源:setup.py


示例18: initialize_options

 def initialize_options(self):
     _install.initialize_options(self)
     self.skip_xdg = False
开发者ID:Jean-FrancoisGagnon,项目名称:bauble.classic,代码行数:3,代码来源:setup.py


示例19: initialize_options

 def initialize_options(self):
     SetuptoolsInstall.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)
开发者ID:mperrin,项目名称:astropy,代码行数:6,代码来源:setup_helpers.py


示例20: initialize_options

 def initialize_options(self):
     install.initialize_options(self)
     self.do_not_fail = None
开发者ID:pleszcz,项目名称:cloudify-system-tests,代码行数:3,代码来源:setup.py



注:本文中的setuptools.command.install.install.initialize_options函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python install.run函数代码示例发布时间:2022-05-27
下一篇:
Python install.finalize_options函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap