How to use the wheel.bdist_wheel.bdist_wheel.get_tag function in wheel

To help you get started, we’ve selected a few wheel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github syzoj / syzoj-tools / setup.py View on Github external
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
github fonttools / ttfautohint-py / setup.py View on Github external
def get_tag(self):
            return ('py2.py3', 'none',) + bdist_wheel.get_tag(self)[2:]
github Yelp / dumb-init / setup.py View on Github external
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:
github rougier / freetype-py / setup.py View on Github external
def get_tag(self):
            return (
                'py2.py3',
                'none',
            ) + bdist_wheel.get_tag(self)[2:]
github cztomczak / cefpython / tools / installer / cefpython3.setup.py View on Github external
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
github habnabit / passacre / passacre-backend / setup.py View on Github external
def get_tag(self):
        impl, abi, plat = _bdist_wheel.get_tag(self)
        return 'py2.py3', 'none', plat
github apache / rocketmq-client-python / setup.py View on Github external
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
github adobe-type-tools / afdko / setup.py View on Github external
def get_tag(self):
            return ('py3', 'none',) + bdist_wheel.get_tag(self)[2:]
github NVIDIA / tensorrt-inference-server / src / clients / python / setup.py View on Github external
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: