コード例 #1
0
ファイル: setup.py プロジェクト: bellenot/root
 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
コード例 #2
0
ファイル: bindings_utils.py プロジェクト: bellenot/root
 def finalize_options(self):
     #
     # This is a universal (Python2/Python3), but platform-specific (has
     # compiled parts) package; a combination that wheel does not recognize,
     # thus simply fool it.
     #
     self.plat_name = get_platform()
     bdist_wheel.finalize_options(self)
     self.root_is_pure = True
コード例 #3
0
ファイル: setup.py プロジェクト: ssbb/Phoenix
 def finalize_options(self):
     # Do a bit of monkey-patching to let bdist_wheel know that there
     # really are extension modules in this build, eventhough 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)
コード例 #4
0
ファイル: setup.py プロジェクト: galleon/bug-free-invention
 def finalize_options(self):
     global cpp_extension, cxx_compiler, cmake_options
     bdist_wheel.finalize_options(self)
     cpp_extension = cpp_extension or self.cpp_extension
     cxx_compiler = self.cxx_compiler if self.cxx_compiler is not None else cxx_compiler
     cmake_options = self.cmake_options if self.cmake_options is not None else cmake_options
コード例 #5
0
 def finalize_options(self):
     adjust_plat_name(self)
     bdist_wheel.finalize_options(self)
コード例 #6
0
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     self.root_is_pure = False  # We have platform specific binaries
コード例 #7
0
 def finalize_options(self):
     # noinspection PyArgumentList
     bdist_wheel.finalize_options(self)
     self.root_is_pure = False
コード例 #8
0
ファイル: setup.py プロジェクト: miloserdova-l/mrob
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     if platform.system() == "Darwin":
         self.root_is_pure = False
コード例 #9
0
ファイル: setup.py プロジェクト: yummy123866/OpenSfM
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     self.root_is_pure = False
コード例 #10
0
ファイル: setup.py プロジェクト: YinlinHu/redstork
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     if sys.platform == 'win32':
         self.root_is_pure = False
コード例 #11
0
 def finalize_options(self):
     """Finalize the options."""
     bdist_wheel.finalize_options(self)
     BaseCommand.finalize_options(self)
コード例 #12
0
ファイル: setup.py プロジェクト: sbraz/pymediainfo
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     # Force the wheel to be marked as platform-specific
     self.root_is_pure = False
コード例 #13
0
ファイル: dsocmd.py プロジェクト: mdavidsaver/setuptools_dso
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     # wheels with DSO are not "pure" python
     self.root_is_pure &= not has_dsos(self)
コード例 #14
0
 def finalize_options(self):
     self.plat_name = get_platform(None)  # force a platform tag
     _bdist_wheel.finalize_options(self)
コード例 #15
0
 def finalize_options(self) -> None:
     bdist_wheel.finalize_options(self)
コード例 #16
0
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     if self.pip_args is None:
         print('pip_args not set, using default https://pypi.org/simple/')
コード例 #17
0
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     # Mark us as not a pure python package (we have platform specific rust code)
     self.root_is_pure = False
コード例 #18
0
ファイル: setup.py プロジェクト: blueshed/liteblue
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     self.root_is_pure = True
コード例 #19
0
ファイル: setup.py プロジェクト: felixonmars/pypandoc
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     assert "any" not in self.get_archive_basename(), "bdist_wheel will not generate platform specific names, aborting!"
コード例 #20
0
 def finalize_options(self):
     """Subclass finalize_options() to fix the value of root_is_pure"""
     bdist_wheel.finalize_options(self)
     # This *is not* a pure Python package
     self.root_is_pure = False
コード例 #21
0
ファイル: setup.py プロジェクト: numba/llvmlite
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     # The build isn't platform-independent
     self.root_is_pure = False
コード例 #22
0
ファイル: setup.py プロジェクト: briceburg/dumb-init
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     # Mark us as not a pure python package
     self.root_is_pure = False
コード例 #23
0
ファイル: setup.py プロジェクト: NLPIR-team/nlpir-python
 def finalize_options(self):
     print(self.plat_name)
     self.distribution.package_data["nlpir"] += multi_arch_lib.get(self.plat_name, multi_arch_lib['any'])
     print(self.distribution.package_data)
     bdist_wheel.finalize_options(self)
コード例 #24
0
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     if self.distribution.has_executables():
         self.root_is_pure = False
コード例 #25
0
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     if self.azure_namespace_package and not self.azure_namespace_package.endswith("-nspkg"):
         raise ValueError("azure_namespace_package must finish by -nspkg")
コード例 #26
0
 def finalize_options(self):
     bdist_wheel_.finalize_options(self)
     self.universal = True
     self.plat_name_supplied = True
     self.plat_name = get_platform()
コード例 #27
0
 def finalize_options(self):
     orig_bdist_wheel.finalize_options(self)
     # Mark us as not a pure python package
     self.root_is_pure = False
コード例 #28
0
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     Helper.finalize_options(self)
コード例 #29
0
ファイル: setup.in.py プロジェクト: jiapei100/ngraph-bridge
 def finalize_options(self):
     # bdist_wheel is old-style class in python 2, so can't `super`
     bdist_wheel.finalize_options(self)
     self.root_is_pure = False
コード例 #30
0
ファイル: setup.py プロジェクト: yos95/hermes-protocol
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     # noinspection PyAttributeOutsideInit
     self.root_is_pure = False
コード例 #31
0
ファイル: setup.py プロジェクト: znsoftm/TRTorch
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
コード例 #32
0
 def finalize_options(self):
     global enable_pcre
     enable_pcre = self.enable_pcre
     bdist_wheel.finalize_options(self)
コード例 #33
0
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     if not is_manylinux:
         self.root_is_pure = False
コード例 #34
0
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     self.distribution.build_wheel = True
コード例 #35
0
ファイル: setup.py プロジェクト: zhuguangxiang/llvmlite
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     # The build isn't platform-independent
     self.root_is_pure = False
コード例 #36
0
ファイル: setup.py プロジェクト: drhagen/tensora
    def finalize_options(self):
        bdist_wheel.finalize_options(self)

        # Ensure that platform tag is included because binaries are platform-specific
        self.root_is_pure = False
コード例 #37
0
ファイル: setup.py プロジェクト: darioush/catbox
 def finalize_options(self):
     global enable_pcre
     enable_pcre = self.enable_pcre
     bdist_wheel.finalize_options(self)
コード例 #38
0
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     # Force the wheel to be marked as platform-specific
     self.root_is_pure = False
コード例 #39
0
ファイル: setup.py プロジェクト: comel/uwsgi
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     self.root_is_pure = False
コード例 #40
0
ファイル: setup.py プロジェクト: 2ps/djenga
 def finalize_options(self):
     _bdist_wheel.finalize_options(self)
     self.root_is_pure = True
コード例 #41
0
ファイル: setup.py プロジェクト: paveldedik/sentry
 def finalize_options(self):
     BDistWheelCommand.finalize_options(self)
     # Unfuck the default detection which we f****d outselves
     # because we needed to override has_ext_modules to get our
     # javascript shittery going.
     self.root_is_pure = True
コード例 #42
0
 def finalize_options(self):
     bdist_wheel.finalize_options(self)
     if self.azure_namespace_package and not self.azure_namespace_package.endswith("-nspkg"):
         raise ValueError("azure_namespace_package must finish by -nspkg")