• Home
  • Raw
  • Download

Lines Matching +full:grpcio +full:- +full:sys +full:-

8 import logging, os, shutil, sys, tempfile, time
19 'chromeos-mirror/gentoo/distfiles/')
59 beneath our own autotest/site-packages directory.
63 re-install the package every time build_externals is invoked, as this
68 @attribute urls - A tuple of URLs to try fetching the package from.
69 @attribute local_filename - A local filename to use when saving the
71 @attribute dist_name - The name of the Python distribution. For example,
73 MySQL-python. This is generally the PyPI name. Defaults to the
75 @attribute hex_sum - The hex digest (currently SHA1) of this package
77 @attribute module_name - The installed python module name to be used for
80 @attribute extracted_package_path - The path to package directory after
82 @attribute version - The desired minimum package version.
83 @attribute os_requirements - A dictionary mapping pathname tuples on the
87 @attribute name - Read only, the printable name of the package.
88 @attribute subclasses - This class attribute holds a list of all defined
92 # autotest/site-packages. These modules should be skipped if the module
119 self.dist_name = self.local_filename[:self.local_filename.rindex('-')]
130 return self.local_filename[:-len(self._get_extension(
139 return class_name[:-len('Package')]
159 /usr/lib/python2.7/dist-packages/, the module will be forced to be
232 @param install_dir - The package installation directory. If it does
236 raise Error('Must call fetch() first. - %s' % self.name)
329 status = system("tar -xzf '%s'" % self.verified_package)
331 status = system("tar -xjf '%s'" % self.verified_package)
346 @param setup_py - The name of the setup.py file to execute.
352 status = system("'%s' %s build" % (sys.executable, setup_py))
364 @param setup_py - The name of the setup.py file to execute.
373 status = system("'%s' %s bdist_egg" % (sys.executable, setup_py))
388 @param install_dir - The installation directory.
389 @param egg_path - The pathname of the egg file.
391 status = system("unzip -q -o -d '%s' '%s'" % (install_dir, egg_path))
395 egg_info_dir = os.path.join(install_dir, 'EGG-INFO')
408 """Get egg-info path for this package.
410 Example path: install_dir/MySQL_python-1.2.3.egg-info
414 egg_info_name_part = self.dist_name.replace('-', '_')
416 egg_info_filename = '%s-%s.egg-info' % (egg_info_name_part,
419 egg_info_filename = '%s.egg-info' % (egg_info_name_part,)
432 python_xy = 'python%s' % sys.version[:3]
433 return os.path.join(temp_dir, 'lib', python_xy, 'site-packages')
438 status = system("rsync -r '%s/' '%s/'" %
453 python setup.py install --prefix=BLA
459 Afterwards, it deconstructs the extra lib/pythonX.Y/site-packages/
461 site-packages directly up into install_dir itself.
464 @param setup_py - The name of the setup.py file to execute.
475 status = system("'%s' %s install --no-compile --prefix='%s'"
476 % (sys.executable, setup_py, temp_dir))
500 status = system('./configure --prefix=%s' % install_prefix)
536 @param dest_dir - The destination directory to save the local file.
540 @raises FetchError - When something unexpected happens.
555 'Re-downloading', self.name)
556 os.rename(local_path, local_path + '.wrong-checksum')
569 data_length = int(url_file.info().get('Content-Length',
572 raise FetchError('%s from %s fails Content-Length %d '
602 # NOTE: This class definition must come -before- all other ExternalPackage
614 urls = (_CHROMEOS_MIRROR + 'setuptools-%s.tar.gz' % (version,),)
615 local_filename = 'setuptools-%s.tar.gz' % version
634 print('on your system for use by', sys.executable, '\n')
648 match = regex.search(p.communicate()[0].decode('utf-8'))
667 local_filename = 'MySQL-python-%s.tar.gz' % version
668 urls = ('http://commondatastorage.googleapis.com/chromeos-mirror/gentoo/'
681 sudo apt-get install libmariadbclient-dev-compat
682 On older Debian based distros, run: sudo apt-get install libmysqlclient15-dev
692 local_filename = 'Django-%s.tar.gz' % version
712 local_filename = 'numpy-%s.tar.gz' % version
725 local_filename = 'gwt-%s.zip' % version
757 extracted_dir = self.local_filename[:-len('.zip')]
772 url_filename = 'pyudev-%s.tar.gz' % version
792 url_filename = 'mox-%s-autotest.tar.gz' % version
793 local_filename = 'mox-%s.tar.gz' % version
814 url_filename = 'selenium-%s.tar.gz' % version
830 url_filename = '%s-%s.tar.gz' % (module_name, version)
846 url_filename = '%s-%s.tar.gz' % (module_name, version)
857 """elasticsearch-py package."""
859 url_filename = 'urllib3-%s.tar.gz' % version
870 url_filename = 'Imaging-%s.tar.gz' % version
872 urls = ('http://commondatastorage.googleapis.com/chromeos-mirror/gentoo/'
880 libz_possible_path = '/usr/lib/x86_64-linux-gnu/libz.so'
883 # is running in non-interactive mode, and requires a workaround when
888 utils.run('sudo ln -s %s %s' %
899 url_filename = 'astroid-%s.tar.gz' % version
909 """lazy-object-proxy package (dependency for astroid)."""
911 url_filename = 'lazy-object-proxy-%s.tar.gz' % version
923 url_filename = 'singledispatch-%s.tar.gz' % version
935 url_filename = 'enum34-%s.tar.gz' % version
947 url_filename = 'wrapt-%s.tar.gz' % version
962 url_filename = 'six-%s.tar.gz' % version
974 url_filename = 'setuptools_scm-%s.tar.gz' % version
986 url_filename = 'backports.functools_lru_cache-%s.tar.gz' % version
996 """logilab-common package."""
999 url_filename = 'logilab-common-%s.tar.gz' % version
1009 """pytest-runner package."""
1011 url_filename = 'pytest-runner-%s.tar.gz' % version
1023 url_filename = 'pylint-%s.tar.gz' % version
1035 url_filename = 'configparser-%s.tar.gz' % version
1047 url_filename = 'isort-%s.tar.gz' % version
1057 """python-dateutil package."""
1059 local_filename = 'python-dateutil-%s.tar.gz' % version
1071 local_filename = 'PyYAML-%s.tar.gz' % version
1082 local_filename = 'google-auth-%s.tar.gz' % version
1094 local_filename = 'grpcio-%s.tar.gz' % version
1105 local_filename = 'grpcio-tools-%s.tar.gz' % version
1116 local_filename = 'protobuf-%s.tar.gz' % version
1160 os_requirements = {('/usr/bin/git') : 'git-core'}
1245 directly into site-packages. It doesn't use an intermediate temp
1273 # be updated when possible ("master" -> "main").
1333 # be updated when possible ("master" -> "main").
1349 # The top-level __init__.py for skylab is at venv/skylab_inventory.