本文整理匯總了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)