當前位置: 首頁>>代碼示例>>Python>>正文


Python bdist_wheel.run方法代碼示例

本文整理匯總了Python中wheel.bdist_wheel.bdist_wheel.run方法的典型用法代碼示例。如果您正苦於以下問題:Python bdist_wheel.run方法的具體用法?Python bdist_wheel.run怎麽用?Python bdist_wheel.run使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在wheel.bdist_wheel.bdist_wheel的用法示例。


在下文中一共展示了bdist_wheel.run方法的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        if not(download_and_install_wheel()):
            custom_compile(THIRD_PARTY, INTERNAL)
            install_req_wheels()
            open(BUILT_LOCAL, 'w+').close()
        print("Running install...")
        p = Process(target=install.run, args=(self,))
        p.start()
        p.join()
        print("Done running install")
        if not(download_and_install_wheel()):
            print("Running egg_install...")
            p = Process(target=install.do_egg_install, args=(self,))
            p.start()
            p.join()
            install_requirements()
            print("Done running egg_install")
        else:
            print("Skipping egg_install")
        copy_custom_compile() 
開發者ID:plasticityai,項目名稱:magnitude,代碼行數:22,代碼來源:setup.py

示例2: warning_string

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def warning_string(self, missing_jars=[]):
        s = '''The following jars were not installed because they were not
present in this package at the time of installation:'''
        for jar in missing_jars:
            s += '\n  {jar}'.format(jar=jar)
        s += '''
This doesn't affect the rest of the installation, but may make it more
difficult for you to run the sample app and get started.

You should consider running:

    python setup.py download_jars
    python setup.py install

Which will download the required jars and rerun the install.
'''
        return s 
開發者ID:awslabs,項目名稱:amazon-kinesis-client-python,代碼行數:19,代碼來源:setup.py

示例3: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        if self.distribution.has_c_libraries():
            build_clib = self.get_finalized_command("build_clib")
            self.include_dirs.append(
                os.path.join(build_clib.build_clib, "include"),
            )
            self.include_dirs.extend(build_clib.build_flags['include_dirs'])

            self.library_dirs.append(
                os.path.join(build_clib.build_clib, "lib"),
            )
            self.library_dirs.extend(build_clib.build_flags['library_dirs'])

            self.define = build_clib.build_flags['define']

        return _build_ext.run(self) 
開發者ID:ludbb,項目名稱:secp256k1-py,代碼行數:18,代碼來源:setup.py

示例4: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        # Ensure library has been downloaded (sdist might have been skipped)
        download_library(self)
        _egg_info.run(self) 
開發者ID:bitaps-com,項目名稱:pybtc,代碼行數:6,代碼來源:setup_tools.py

示例5: make_bdist_wheel_cmd

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def make_bdist_wheel_cmd(self):
        """Returns a command class implementing 'bdist_wheel'.
        """
        from wheel.bdist_wheel import bdist_wheel

        class bdist_wheel_cmd(bdist_wheel):
            def run(self):
                # This may modify package_data:
                bdist_wheel.run(self)

        return bdist_wheel_cmd 
開發者ID:tensorwerk,項目名稱:hangar-py,代碼行數:13,代碼來源:setup.py

示例6: make_sdist_cmd

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def make_sdist_cmd(self):
        """A command class implementing 'sdist'.
        """
        from distutils.command.sdist import sdist as _sdist

        class sdist(_sdist):
            def run(self):
                # Make sure the compiled Cython files in the distribution are up-to-date
                # so we generate .c files correctly (.so will be removed)
                _sdist.run(self)

        return sdist

# Pass command line flags to setup.py script
# handle --lflags=[FLAGS] --cflags=[FLAGS] 
開發者ID:tensorwerk,項目名稱:hangar-py,代碼行數:17,代碼來源:setup.py

示例7: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        build_js_bundle()
        sdist.run(self) 
開發者ID:UDST,項目名稱:orca,代碼行數:5,代碼來源:setup.py

示例8: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        """
        Runs when this command is given to setup.py
        """
        downloader = MavenJarDownloader(on_completion=lambda : None)
        downloader.download_files()
        print('''
Now you should run:

    python setup.py install

Which will finish the installation.
''') 
開發者ID:awslabs,項目名稱:amazon-kinesis-client-python,代碼行數:15,代碼來源:setup.py

示例9: do_install

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def do_install(self):
        install.run(self) 
開發者ID:awslabs,項目名稱:amazon-kinesis-client-python,代碼行數:4,代碼來源:setup.py

示例10: do_run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def do_run(self):
            bdist_wheel.run(self) 
開發者ID:awslabs,項目名稱:amazon-kinesis-client-python,代碼行數:4,代碼來源:setup.py

示例11: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        if not self.distribution.install_requires:
            self.distribution.install_requires = []
        self.distribution.install_requires.append(
            "{}>=2.0.0".format(self.azure_namespace_package))
        bdist_wheel.run(self) 
開發者ID:Azure,項目名稱:azure-cosmos-table-python,代碼行數:8,代碼來源:azure_bdist_wheel.py

示例12: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        _build_paneljs()
        develop.run(self) 
開發者ID:holoviz,項目名稱:panel,代碼行數:5,代碼來源:setup.py

示例13: run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def run(self):
        downloader = DriverDownloader(lambda: None)
        downloader.download() 
開發者ID:laughingman7743,項目名稱:PyAthenaJDBC,代碼行數:5,代碼來源:setup.py

示例14: _run

# 需要導入模塊: from wheel.bdist_wheel import bdist_wheel [as 別名]
# 或者: from wheel.bdist_wheel.bdist_wheel import run [as 別名]
def _run(self):
        install.run(self) 
開發者ID:laughingman7743,項目名稱:PyAthenaJDBC,代碼行數:4,代碼來源:setup.py


注:本文中的wheel.bdist_wheel.bdist_wheel.run方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。