当前位置: 首页>>代码示例>>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;未经允许,请勿转载。