• Home
  • Raw
  • Download

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

3 import logging, os, shutil, sys, tempfile, time, urllib2
12 'chromeos-mirror/gentoo/distfiles/')
52 beneath our own autotest/site-packages directory.
56 re-install the package every time build_externals is invoked, as this
61 @attribute urls - A tuple of URLs to try fetching the package from.
62 @attribute local_filename - A local filename to use when saving the
64 @attribute dist_name - The name of the Python distribution. For example,
66 MySQL-python. This is generally the PyPI name. Defaults to the
68 @attribute hex_sum - The hex digest (currently SHA1) of this package
70 @attribute module_name - The installed python module name to be used for
73 @attribute extracted_package_path - The path to package directory after
75 @attribute version - The desired minimum package version.
76 @attribute os_requirements - A dictionary mapping pathname tuples on the
80 @attribute name - Read only, the printable name of the package.
81 @attribute subclasses - This class attribute holds a list of all defined
85 # autotest/site-packages. These modules should be skipped if the module
112 self.dist_name = self.local_filename[:self.local_filename.rindex('-')]
123 return self.local_filename[:-len(self._get_extension(
132 return class_name[:-len('Package')]
152 /usr/lib/python2.7/dist-packages/, the module will be forced to be
225 @param install_dir - The package installation directory. If it does
229 raise Error('Must call fetch() first. - %s' % self.name)
322 status = system("tar -xzf '%s'" % self.verified_package)
324 status = system("tar -xjf '%s'" % self.verified_package)
339 @param setup_py - The name of the setup.py file to execute.
345 status = system("'%s' %s build" % (sys.executable, setup_py))
357 @param setup_py - The name of the setup.py file to execute.
366 status = system("'%s' %s bdist_egg" % (sys.executable, setup_py))
381 @param install_dir - The installation directory.
382 @param egg_path - The pathname of the egg file.
384 status = system("unzip -q -o -d '%s' '%s'" % (install_dir, egg_path))
388 egg_info_dir = os.path.join(install_dir, 'EGG-INFO')
401 """Get egg-info path for this package.
403 Example path: install_dir/MySQL_python-1.2.3.egg-info
407 egg_info_name_part = self.dist_name.replace('-', '_')
409 egg_info_filename = '%s-%s.egg-info' % (egg_info_name_part,
412 egg_info_filename = '%s.egg-info' % (egg_info_name_part,)
425 python_xy = 'python%s' % sys.version[:3]
426 return os.path.join(temp_dir, 'lib', python_xy, 'site-packages')
431 status = system("rsync -r '%s/' '%s/'" %
446 python setup.py install --prefix=BLA
452 Afterwards, it deconstructs the extra lib/pythonX.Y/site-packages/
454 site-packages directly up into install_dir itself.
457 @param setup_py - The name of the setup.py file to execute.
468 status = system("'%s' %s install --no-compile --prefix='%s'"
469 % (sys.executable, setup_py, temp_dir))
493 status = system('./configure --prefix=%s' % install_prefix)
529 @param dest_dir - The destination directory to save the local file.
533 @raises FetchError - When something unexpected happens.
548 'Re-downloading', self.name)
549 os.rename(local_path, local_path + '.wrong-checksum')
562 data_length = int(url_file.info().get('Content-Length',
565 raise FetchError('%s from %s fails Content-Length %d '
595 # NOTE: This class definition must come -before- all other ExternalPackage
607 urls = (_CHROMEOS_MIRROR + 'setuptools-%s.tar.gz' % (version,),)
608 local_filename = 'setuptools-%s.tar.gz' % version
627 print 'on your system for use by', sys.executable, '\n'
660 local_filename = 'MySQL-python-%s.tar.gz' % version
661 urls = ('http://commondatastorage.googleapis.com/chromeos-mirror/gentoo/'
674 sudo apt-get install libmariadbclient-dev-compat
675 On older Debian based distros, run: sudo apt-get install libmysqlclient15-dev
685 local_filename = 'Django-%s.tar.gz' % version
705 local_filename = 'numpy-%s.tar.gz' % version
719 local_filename = '%s-%s.tar.gz' % (module_name, version)
736 local_filename = 'gwt-%s.zip' % version
768 extracted_dir = self.local_filename[:-len('.zip')]
783 url_filename = 'pyudev-%s.tar.gz' % version
803 url_filename = 'mox-%s-autotest.tar.gz' % version
804 local_filename = 'mox-%s.tar.gz' % version
825 url_filename = 'selenium-%s.tar.gz' % version
841 url_filename = '%s-%s.tar.gz' % (module_name, version)
857 url_filename = '%s-%s.tar.gz' % (module_name, version)
868 """elasticsearch-py package."""
870 url_filename = 'elasticsearch-%s.tar.gz' % version
889 """elasticsearch-py package."""
891 url_filename = 'urllib3-%s.tar.gz' % version
902 url_filename = 'Imaging-%s.tar.gz' % version
904 urls = ('http://commondatastorage.googleapis.com/chromeos-mirror/gentoo/'
912 libz_possible_path = '/usr/lib/x86_64-linux-gnu/libz.so'
915 # is running in non-interactive mode, and requires a workaround when
920 utils.run('sudo ln -s %s %s' %
931 url_filename = 'astroid-%s.tar.gz' % version
941 """lazy-object-proxy package (dependency for astroid)."""
943 url_filename = 'lazy-object-proxy-%s.tar.gz' % version
955 url_filename = 'singledispatch-%s.tar.gz' % version
967 url_filename = 'enum34-%s.tar.gz' % version
979 url_filename = 'wrapt-%s.tar.gz' % version
994 url_filename = 'six-%s.tar.gz' % version
1006 url_filename = 'backports.functools_lru_cache-%s.tar.gz' % version
1016 """logilab-common package."""
1019 url_filename = 'logilab-common-%s.tar.gz' % version
1031 url_filename = 'pylint-%s.tar.gz' % version
1043 url_filename = 'configparser-%s.tar.gz' % version
1055 url_filename = 'isort-%s.tar.gz' % version
1065 """python-dateutil package."""
1067 local_filename = 'python-dateutil-%s.tar.gz' % version
1079 url_filename = 'pytz-%s.tar.gz' % version
1094 url_filename = 'tzlocal-%s.tar.gz' % version
1106 local_filename = 'PyYAML-%s.tar.gz' % version
1117 local_filename = 'google-auth-%s.tar.gz' % version
1128 local_filename = 'cachetools-%s.tar.gz' % version
1140 local_filename = 'grpcio-%s.tar.gz' % version
1151 local_filename = 'grpcio-tools-%s.tar.gz' % version
1162 local_filename = 'protobuf-%s.tar.gz' % version
1206 os_requirements = {('/usr/bin/git') : 'git-core'}
1290 directly into site-packages. It doesn't use an intermediate temp
1415 # The top-level __init__.py for skylab is at venv/skylab_inventory.