How to use the wheel.bdist_wheel.bdist_wheel.finalize_options 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 microsoft / ptvsd / setup.py View on Github external
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            self.root_is_pure = pure
github NVIDIA / tensorrt-inference-server / src / clients / python / setup.py View on Github external
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            self.root_is_pure = False
        def get_tag(self):
github alibaba / euler / tools / pip / setup.py View on Github external
def finalize_options(self):
    _bdist_wheel.finalize_options(self)
    self.root_is_pure = False
github root-project / root / bindings / pyroot_experimental / cppyy / cppyy-backend / cling / setup.py View on Github external
def finalize_options(self):
         # this is a universal, but platform-specific package; a combination
         # that wheel does not recognize, thus simply fool it
            from distutils.util import get_platform
            self.plat_name = get_platform()
            _bdist_wheel.finalize_options(self)
            self.root_is_pure = True
github mongodb / libmongocrypt / bindings / python / setup.py View on Github external
def finalize_options(self):
                _bdist_wheel.finalize_options(self)
                self.root_is_pure = False
github symengine / symengine.py / setup.py View on Github external
def finalize_options(self):
            bdist_wheel.finalize_options(self)
            self.root_is_pure = False
    cmdclass["bdist_wheel"] = BdistWheelWithCmake
github wxWidgets / Phoenix / setup.py View on Github external
def finalize_options(self):
            # Do a bit of monkey-patching to let bdist_wheel know that there
            # really are extension modules in this build, even though they are
            # not built here.
            def _has_ext_modules(self):
                return True
            from setuptools.dist import Distribution
            #Distribution.is_pure = _is_pure
            Distribution.has_ext_modules = _has_ext_modules

            orig_bdist_wheel.finalize_options(self)
github apache / rocketmq-client-python / setup.py View on Github external
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            # Mark us as not a pure python package (we have platform specific C/C++ code)
            self.root_is_pure = False
github shinnytech / tqsdk-python / setup.py View on Github external
def finalize_options(self):
            _bdist_wheel.finalize_options(self)
            # Mark us as not a pure python package (we have platform specific ctpse lib)
            if self.plat_name != "any":
                self.root_is_pure = False
                plat_name = (self.plat_name or get_platform()).replace('-', '_').replace('.', '_')
                if plat_name == "linux_x86_64" or plat_name == "manylinux1_x86_64":
                    self.distribution.package_data[""] = ["ctpse/LinuxDataCollect64.so"]
                elif plat_name == "win32":
                    self.distribution.package_data[""] = ["ctpse/WinDataCollect32.dll"]
                elif plat_name == "win_amd64":
                    self.distribution.package_data[""] = ["ctpse/WinDataCollect64.dll"]
github syzoj / syzoj-tools / setup.py View on Github external
def finalize_options(self):
        bdist_wheel.finalize_options(self)
        self.root_is_pure = False