本文整理汇总了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
示例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
示例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
示例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
示例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
示例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
示例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
示例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