当前位置: 首页>>代码示例>>Python>>正文


Python bdist_wheel.finalize_options方法代码示例

本文整理汇总了Python中wheel.bdist_wheel.bdist_wheel.finalize_options方法的典型用法代码示例。如果您正苦于以下问题:Python bdist_wheel.finalize_options方法的具体用法?Python bdist_wheel.finalize_options怎么用?Python bdist_wheel.finalize_options使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在wheel.bdist_wheel.bdist_wheel的用法示例。


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

示例1: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            self.root_is_pure = False 
开发者ID:awslabs,项目名称:dynamic-training-with-apache-mxnet-on-aws,代码行数:5,代码来源:setup.py

示例2: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            # Mark us as not a pure python package (we have platform specific C/C++ code)
            self.root_is_pure = False 
开发者ID:messense,项目名称:rocketmq-python,代码行数:6,代码来源:setup.py

示例3: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
        _build_ext.finalize_options(self)
        # The argument parsing will result in self.define being a string, but
        # it has to be a list of 2-tuples.
        # Multiple symbols can be separated with semi-colons.
        self.define = _process_define(self)
        cmake_opts.extend(self.define)
        if self.symengine_dir:
            cmake_opts.extend([('SymEngine_DIR', self.symengine_dir)])

        if self.generator:
            cmake_generator[0] = self.generator

        cmake_build_type[0] = self.build_type 
开发者ID:symengine,项目名称:symengine.py,代码行数:16,代码来源:setup.py

示例4: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
            bdist_wheel.finalize_options(self)
            # Mark us as not a pure python package
            self.root_is_pure = False 
开发者ID:daanzu,项目名称:kaldi-active-grammar,代码行数:6,代码来源:setup.py

示例5: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
        bdist_wheel.finalize_options(self)
        if self.azure_namespace_package and not self.azure_namespace_package.endswith("-nspkg"):
            raise ValueError("azure_namespace_package must finish by -nspkg") 
开发者ID:Azure,项目名称:azure-cosmos-table-python,代码行数:6,代码来源:azure_bdist_wheel.py

示例6: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
            bdist_wheel.finalize_options(self)
            self.root_is_pure = False 
开发者ID:OasisLMF,项目名称:OasisLMF,代码行数:5,代码来源:setup.py

示例7: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
        install.finalize_options(self)
        self.set_undefined_options('build', ('build_scripts', 'build_scripts')) 
开发者ID:h2oai,项目名称:h2o4gpu,代码行数:5,代码来源:setup.py

示例8: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            # Mark us as not a pure python package (we have platform specific ctpse lib)
            if self.plat_name != "any":
                self.root_is_pure = False
                plat_name = (self.plat_name or get_platform()).replace('-', '_').replace('.', '_')
                if plat_name == "linux_x86_64" or plat_name == "manylinux1_x86_64":
                    self.distribution.package_data[""] = ["ctpse/LinuxDataCollect64.so"]
                elif plat_name == "win32":
                    self.distribution.package_data[""] = ["ctpse/WinDataCollect32.dll"]
                elif plat_name == "win_amd64":
                    self.distribution.package_data[""] = ["ctpse/WinDataCollect64.dll"] 
开发者ID:shinnytech,项目名称:tqsdk-python,代码行数:14,代码来源:setup.py

示例9: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            # Mark us as not a pure python package
            self.root_is_pure = False 
开发者ID:Yelp,项目名称:dumb-init,代码行数:6,代码来源:setup.py

示例10: finalize_options

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import finalize_options [as 别名]
def finalize_options(self):
        build.finalize_options(self)
        # The build isn't platform-independent
        if self.build_lib == self.build_purelib:
            self.build_lib = self.build_platlib 
开发者ID:numba,项目名称:llvmlite,代码行数:7,代码来源:setup.py


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