本文整理匯總了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