def run(self): """Build the egg information.""" if "sdist" in sys.argv or "bdist_egg" in sys.argv or "bdist_wheel" in sys.argv or "install" in sys.argv: self.run_command("build_media") self.run_command("build_i18n") egg_info.run(self)
def run(self): if ('sdist' in sys.argv or 'bdist_egg' in sys.argv or 'install' in sys.argv): self.run_command('build_media') egg_info.run(self)
def run(self): if "build" in self.distribution.command_obj: build_command = self.distribution.command_obj["build"] self.egg_base = build_command.build_base self.egg_info = os.path.join(self.egg_base, os.path.basename(self.egg_info)) egg_info.run(self)
def run(self): """Build the egg information.""" if is_packaging: self.run_command('build_media') self.run_command('build_i18n') egg_info.run(self)
def run(self): self.discover_url() _egg_info.run(self) if self.revision: self.write_revision(self.revision) self.write_all_revisions() if self.include_test_options: self.write_test_options()
def run(self): """Build the egg information.""" if ('sdist' in sys.argv or 'bdist_egg' in sys.argv or 'bdist_wheel' in sys.argv or 'install' in sys.argv): self.run_command('build_media') self.run_command('build_i18n') egg_info.run(self)
def run(self): # Conditionally build the media files if there's a settings_local # file. If there isn't one, we assume this is a new dev tree, in which # prepare-dev hasn't been run yet. # # This is necessary since setup.py develop must be run before # prepare-dev.py, but develop will call egg_info. if os.path.exists('settings_local.py'): self.run_command('build_media') egg_info.run(self)
def run(self): if 'sdist' in sys.argv: import warnings warnings.warn("`build_src` is being run, this may lead to missing " "files in your sdist! See numpy issue gh-7127 for " "details", UserWarning) # We need to ensure that build_src has been executed in order to give # setuptools' egg_info command real filenames instead of functions which # generate files. self.run_command("build_src") _egg_info.run(self)
def run(self): if 'sdist' in sys.argv: import warnings import textwrap msg = textwrap.dedent(""" `build_src` is being run, this may lead to missing files in your sdist! You want to use distutils.sdist instead of the setuptools version: from distutils.command.sdist import sdist cmdclass={'sdist': sdist}" See numpy's setup.py or gh-7131 for details.""") warnings.warn(msg, UserWarning, stacklevel=2) # We need to ensure that build_src has been executed in order to give # setuptools' egg_info command real filenames instead of functions which # generate files. self.run_command("build_src") _egg_info.run(self)
def run(self): cmd = ['python', 'blond/compile.py'] if self.parallel: cmd.append('-p') if self.boost: cmd += ['-b', self.boost] if self.compiler: cmd += ['-c', self.compiler] subprocess.call(cmd) # self.run_command('compile') return _egg_info.run(self)
def run(self): from setuptools.command.egg_info import manifest_maker from os import listdir which_template = "MANIFEST.source.in" dist = self.distribution old_values = dist.ext_modules, dist.ext_package, dist.packages, dist.package_dir if len(listdir(package_dir)) != 0 and getattr(self.distribution, "running_binary", True): which_template = "MANIFEST.binary.in" else: dist.ext_modules, dist.ext_package = None, None dist.packages, dist.package_dir = None, None try: old_template = manifest_maker.template manifest_maker.template = which_template dEggInfo.run(self) finally: manifest_maker.template = old_template dist.ext_modules, dist.ext_package = old_values[:2] dist.packages, dist.package_dir = old_values[2:]
def run(self): from setuptools.command.egg_info import manifest_maker from os import listdir which_template = 'MANIFEST.source.in' dist = self.distribution old_values = dist.ext_modules, dist.ext_package, \ dist.packages, dist.package_dir condition = len(listdir(package_dir)) != 0 \ and getattr(self.distribution, 'running_binary', False) if condition: which_template = 'MANIFEST.binary.in' else: dist.ext_modules, dist.ext_package = None, None dist.packages, dist.package_dir = None, None try: old_template = manifest_maker.template manifest_maker.template = which_template dEggInfo.run(self) finally: manifest_maker.template = old_template dist.ext_modules, dist.ext_package = old_values[:2] dist.packages, dist.package_dir = old_values[2:]
def run(self): git_checkout_submodules() egg_info.run(self)
def run(self): # Ensure library has been downloaded (sdist might have been skipped) download_library(self) _egg_info.run(self)
def run(self): genResources() egg_info.run(self)
def run(self): recompile() EggInfo.run(self)
def run(self): if "sdist" in sys.argv or "bdist_egg" in sys.argv or "install" in sys.argv: self.run_command("build_media") egg_info.run(self)
def run(self): egg_info.run(self) setup_pil_stub('egg_info')
def run(self): self.run_command("build_src") _egg_info.run(self)
def run(self): self.build_bitarray() egg_info.run(self)
def run(self): self.compile_assets() base_egg_info.run(self)
def run(self): EggInfo.run(self)
def run(self): # install_libs(SOURCES, develop=True) egg_info.run(self)
def run(self): orig_egg_info.run(self) shutil.copy('b3.egg-info/PKG-INFO', 'b3/PKG-INFO')
def run(self): subprocess.call(['npm','install'],cwd='cycling_data') egg_info.run(self)
def run(self): """Run egg_info process.""" egg_info.run(self) install_rpm_py()
def run(self): egg_info.run(self) create_json()
def run(self): _egg_info.run(self) post_install()
def run(self): self.run_command('js') return egg_info.run(self)
def run(self): atexit.register(_post_install) egg_info.run(self)
def run(self): # We need to ensure that build_src has been executed in order to give # setuptools' egg_info command real filenames instead of functions which # generate files. self.run_command("build_src") _egg_info.run(self)
def run(self): """compile special java dependencies before the others.""" #java.main(path) egg_info.run(self)
def run(self): egg_info.run(self) enable_visual_interface()
def run(self): if self.distribution.extras_require is None: self.distribution.extras_require = {} self.distribution.extras_require[ 'tests'] = self.distribution.tests_require EggInfoCommand.run(self)
def run(self): subprocess.run(['npm', 'install'], cwd='health_data', check=True) egg_info.run(self)
def run(self): egg_info.run(self) custom_command()
def run(self): print("***********customcommand run from egg_info********") egg_info.run(self) CustomCommand().run_all()
def run(self): cp_data() EggInfo.run(self)
def run(self): build_js(self) return egg_info.run(self)
def run(self): self.run_command("js") return egg_info.run(self)
def run(self): compile_all_protobufs() _egg_info.run(self)
def run(self): self.run_command('build_media') egg_info.run(self)
def run(self): if (sys.argv[0] in ('sdist', 'bdist_egg', 'install') and os.path.exists('settings_local.py')): self.run_command('build_media') egg_info.run(self)
def run(self): for link in dep_links: pip.main(['install', link]) egg_info.run(self)
def run(self): # make sure the ots source is downloaded before creating sdist manifest self.run_command("download") egg_info.run(self)
def run(self): egg_info.run(self) shutil.copy ('b3.egg-info/PKG-INFO', 'b3/PKG-INFO')
def run(self): egg_info.run(self) download_required_nltk_data_packages()
def run(self): if os.name == "nt": sys.exit( "Looks like you are on windows. Only MacOS and Linux are supported :(" ) egg_info.run(self)
def run(self): orig_egg_info.run(self) shutil.copy("b3.egg-info/PKG-INFO", "b3/PKG-INFO")
def run(self): try: import gi.repository except ImportError: sys.stderr.write( """ PyGObject does not appear to be installed. This cannot be installed automatically and must be installed to the system using your package manager. On apt-based systems: sudo apt-get install python-gobject On yum-based systems: sudo yum install python-gobject The installation not work as expected without this dependency. """) try: import Xlib except ImportError: # Python3-xlib can be installed automatically if PYTHON_VERSION[0] < 3: sys.stderr.write( """ Python Xlib does not appear to be installed. This cannot be installed automatically and must be installed to the system using your package manager. On apt-based systems: sudo apt-get install python-xlib On yum-based systems: sudo yum install python-xlib The installation not work as expected without this dependency. """) try: import cv2 except ImportError: sys.stderr.write( """ OpenCV does not appear to be installed. This cannot be installed automatically and must be installed to the system using your package manager. On apt-based systems: sudo apt-get install python-opencv On yum-based systems: sudo yum install python-opencv The installation not work as expected without this dependency. """) if "build" in self.distribution.command_obj: build_command = self.distribution.command_obj["build"] self.egg_base = build_command.build_base self.egg_info = os.path.join(self.egg_base, os.path.basename(self.egg_info)) egg_info.run(self)