當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。