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