grpcio-tools 1.21.1
Automake Makefile.am filenameBasename is uppercase README.md
SHA-2569bbcccee9aadfcfdd063e7ad5c26926dab9a3c8d727823e9028c44641ee1e5dc
Evidence
12:51… on January 1, 2020.
13
14Installation
15------------
16
17The gRPC Python tools package is available for Linux, Mac OS X, and Windows
18running Python 2.7.
19
⋯5 lines
25::
26
27 $ pip install grpcio-tools
28
29Else system wide (on Ubuntu)...
30
31::
32
33 $ sudo pip install grpcio-tools
34
35If you're on Windows make sure that you installed the :code:`pip.exe` component
36when you installed Python (if not go back and insta …
63:31… EPO_ROOT can be any directory of your choice
64 $ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc $REPO_ROOT
65 $ cd $REPO_ROOT
66 $ git submodule update --init
67
68 $ cd tools/distrib/python/grpcio_tools
69 $ python ../ …
101:51… r/lib/python2.7/dist-packages), Requirement.parse('six>=1.10'))
102
103 You can fix it by doing:
104
105 ::
106
107 sudo pip install --ignore-installed six
108
109* **... see compiler errors on some platforms when either installing from source or from the source distribution**
110
111 If you see
112
113 ::
114
115 /tmp/pip-build-U8pSsr/cython/Cython/Plex/Scanners.c:4:20: fatal error: Python.h: No such file or directory
116 #include "Python.h"
117 …
1# Copyright 2018 The gRPC Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under …
16:59… one.
17Enabling parallel build helps a lot.
18"""
19
20import distutils.ccompiler
21import os
22
23try:
24 BUILD_EXT_COMPILER_JOBS = int(
25 os.environ.get('GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS', '1'))
26except ValueError:
27 BUILD_EXT_COMPILER_JOBS = 1
28
29
30# monkey-patch for parallel compilation
31def _parallel_compile(self,
32 …
Showing the top 5 files — 7 more files (85 regions) not shown.
No evidence locations were recorded for this file. Raw result