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


Python bdist_wheel.get_tag方法代码示例

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


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

示例1: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            # this set's us up to build generic wheels.
            python, abi, plat = _bdist_wheel.get_tag(self)
            python, abi = 'py2.py3', 'none'
            return python, abi, plat 
开发者ID:messense,项目名称:rocketmq-python,代码行数:7,代码来源:setup.py

示例2: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            tag = bdist_wheel.get_tag(self)
            if tag[2] == 'macosx_10_6_intel':
                tag = (tag[0], tag[1], REPLACE)
            return tag 
开发者ID:whtsky,项目名称:bencoder.pyx,代码行数:7,代码来源:setup.py

示例3: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            python, abi, plat = bdist_wheel.get_tag(self)
            # We don't contain any python source
            python, abi = 'py2.py3', 'none'
            return python, abi, plat 
开发者ID:daanzu,项目名称:kaldi-active-grammar,代码行数:7,代码来源:setup.py

示例4: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            tag = _bdist_wheel.get_tag(self)
            pypi_compliant_tag = list(tag)
            if 'linux' == pypi_compliant_tag[2][0:5]:
                pypi_compliant_tag[2] = pypi_compliant_tag[2].replace("linux", "manylinux1")
            if pypi_compliant_tag[2] == "manylinux1_aarch64":
                pypi_compliant_tag[2] = "manylinux2014_aarch64"
            pypi_compliant_tag = tuple(pypi_compliant_tag)
            return pypi_compliant_tag 
开发者ID:aouinizied,项目名称:nfstream,代码行数:11,代码来源:setup.py

示例5: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            python, abi, plat = bdist_wheel.get_tag(self)
            python, abi = 'py3', 'none'
            plat = plat.lower().replace('linux', 'manylinux1')
            plat = plat.lower().replace('darwin_x86_64', 'macosx_10_6_intel')
            return python, abi, plat 
开发者ID:OasisLMF,项目名称:OasisLMF,代码行数:8,代码来源:setup.py

示例6: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            _, _, plat = bdist_wheel.get_tag(self)
            py = "py3"
            abi = "none"
            return py, abi, plat 
开发者ID:modin-project,项目名称:modin,代码行数:7,代码来源:setup.py

示例7: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            # this set's us up to build generic wheels.
            python, abi, plat = _bdist_wheel.get_tag(self)
            # We don't contain any python source
            python, abi = 'py3', 'none'
            return python, abi, plat 
开发者ID:shinnytech,项目名称:tqsdk-python,代码行数:8,代码来源:setup.py

示例8: get_tag

# 需要导入模块: from wheel.bdist_wheel import bdist_wheel [as 别名]
# 或者: from wheel.bdist_wheel.bdist_wheel import get_tag [as 别名]
def get_tag(self):
            python, abi, plat = _bdist_wheel.get_tag(self)
            # We don't contain any python source
            python, abi = 'py2.py3', 'none'
            return python, abi, plat 
开发者ID:Yelp,项目名称:dumb-init,代码行数:7,代码来源:setup.py


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