本文整理汇总了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()
示例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
示例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)
示例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)
示例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
示例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]
示例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)
示例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.
''')
示例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)
示例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)
示例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)
示例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)
示例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()
示例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)