Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_tag(self):
python, abi, plat = bdist_wheel.get_tag(self)
python, abi = "py3", "none"
if plat == "linux_x86_64":
plat = "manylinux1_x86_64"
elif plat == "linux_i686":
plat = "manylinux1_i686"
return python, abi, plat
def get_tag(self):
return ('py2.py3', 'none',) + bdist_wheel.get_tag(self)[2:]
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
except ImportError:
def get_tag(self):
return (
'py2.py3',
'none',
) + bdist_wheel.get_tag(self)[2:]
def get_tag(self):
tag = bdist_wheel.get_tag(self)
platform_tag = sysconfig.get_platform()
platform_tag = platform_tag.replace("-", "_")
if platform.system() == "Linux":
assert "linux" in platform_tag
# "linux-x86_64" replace with "manylinux1_x86_64"
platform_tag = platform_tag.replace("linux", "manylinux1")
elif platform.system() == "Darwin":
# For explanation of Mac platform tags, see:
# http://lepture.com/en/2014/python-on-a-hard-wheel
platform_tag = ("macosx_10_6_intel"
".macosx_10_9_intel.macosx_10_9_x86_64"
".macosx_10_10_intel.macosx_10_10_x86_64")
tag = (tag[0], tag[1], platform_tag)
return tag
def get_tag(self):
impl, abi, plat = _bdist_wheel.get_tag(self)
return 'py2.py3', 'none', plat
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
def get_tag(self):
return ('py3', 'none',) + bdist_wheel.get_tag(self)[2:]
def get_tag(self):
pyver, abi, plat = _bdist_wheel.get_tag(self)
# Client Python code is compatible with both Python 2 and 3
pyver, abi = 'py2.py3', 'none'
return pyver, abi, plat
except ImportError: