Lidi Zheng
e5ff58ed85
Make YAPF happy
5 years ago
Lidi Zheng
50ed111cde
Pack the platform check into the compiler check function
5 years ago
Lidi Zheng
09d121f65e
Fix the windows build failure
5 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Lidi Zheng
bb38187221
Add a TODO to remove a.out
5 years ago
Richard Belleville
efa1f8b993
Remove debug prints
6 years ago
Richard Belleville
07bfbec8f9
Fix hanging build
6 years ago
Nikolai Lifanov
580b720a39
address comments by ericgribkoff@
...
o re-add USE_PREBUILT_GRPC_CORE option that was erroneously removed
o fix typo in comment
6 years ago
Nikolai Lifanov
a916a53347
use str instead of Text to appease Python 2.7
...
The Python 2.7 Linux test runner doesn't have typing module available.
6 years ago
Nikolai Lifanov
9eb1171dfb
be compatible with Python 2 and Python 3
...
In Python 3, cc_err is going to be bytes().
6 years ago
Nikolai Lifanov
ad093660ff
format with yapf
...
This was already formatted with yapf, but perhaps I didn't do this
correctly. I copied the diff directly from kokoro build log this
time.
6 years ago
Nikolai Lifanov
c1451e83d5
generalize macOS workaround for -std=c++11 passed in C mode
...
GCC allows this, but notably clang does not. Other systems,
like FreeBSD and some Linux distros ship with clang as default
compiler. While here, switch the approach to filtering out std
flag since the make workaround relies on GNU make syntax and
'make' binary could be bmake and/or gmake could be absent.
The idea to filter the flags was taken from an answer to this
Stack Overflow question:
https://stackoverflow.com/questions/15527611/how-do-i-specify-different-compiler-flags-in-distutils-for-just-one-python-c-ext
6 years ago
Lidi Zheng
cabe8d8f10
New Python documentation generation
...
* Use templates instead of generating them every time
* Theme changed
* Add grpc_* modules
* APIs grouped
* No documentation for class members without docstring
* Add docstring for status code
7 years ago
Lidi Zheng
03841be6ce
Add background about the special condition
7 years ago
Lidi Zheng
4e5ee57000
Change flag to `REQUIRE_CUSTOM_LIBRARIES_opt`
7 years ago
Lidi Zheng
7502a2311a
Try cleaner separation
...
* reduce possible contamination of environment variables
7 years ago
Lidi Zheng
688db0ec5b
Remove the environment variable changing line
...
* This commit failed `tools/run_tests/artifacts/build_artifact_csharp.sh`
* It doesn't make any sense!
7 years ago
Lidi Zheng
9569ebe770
Add reference to the issue
7 years ago
Lidi Zheng
465886533f
Ensure libboringssl.a is always built for Python
7 years ago
Eric Gribkoff
0ff641a246
Define the allow pthread atfork macro for gRPC Python MacOS builds
7 years ago
Mehrdad Afshari
87cd994b04
Upgrade yapf to 0.20.0
...
Upgrade yapf version to 0.20.0 and reformat Python files.
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Ken Payson
b91c5fb8ba
Fix python artifact build
8 years ago
Ken Payson
0eac8aa220
Yapf_code
8 years ago
Ken Payson
63b0d11ca8
Final changes
8 years ago
Ken Payson
ae5ca1b447
Fixes
8 years ago
Ken Payson
5b034e6a4f
Windows + mac dbg fix
8 years ago
Ken Payson
571c75aa33
Switch to Makefile based build on mac
8 years ago
Ken Payson
3b90055f2c
Fix mac build
8 years ago
Ken Payson
0f5e3a87c2
Ran Yapf code, pinned version
8 years ago
Ken Payson
2fa5f2f978
Re-run yapf code, and pin version
8 years ago
Masood Malekghassemi
6b890d1dd3
Run yapf over Python code
8 years ago
Masood Malekghassemi
cc793703bf
Run Python formatting
8 years ago
Masood Malekghassemi
25186ae0f1
Set Python documentation copyright
8 years ago
Ken Payson
7722245ce8
Make .pxi imports relative
9 years ago
Masood Malekghassemi
fd9cc106f3
Be more intelligent about Cython in grpcio
...
Before, Cython would *need* to be imported immediately if generated
files did not already exist. Now, missing generated files will trigger a
`setup_requires` inclusion of Cython and defer cythonization until
extension build-time. If cythonization was specified via environment
variable and setup could not find Cython, the extensions are poisoned
instead of blocking non-extension commands from running.
9 years ago
Masood Malekghassemi
48d07c6489
Add special methods to generated Python docs
...
Also removes an old-now-spurious `make` invocation from the docgen.py
helper script.
9 years ago
Ken Payson
f7f47a6d26
Added Glossary to docs with metadata definition
9 years ago
Masood Malekghassemi
1ff429da2a
Organize Python tests to use grpcio-tools directly
...
Moves all tests into a separate package. This does not change existing
supported means of running tests (e.g. through run_tests.py).
9 years ago
David Garcia Quintas
5ad70a6953
removed spurious .format()
9 years ago
David Garcia Quintas
377bfdef92
added extra path to python protoc
9 years ago
Ken Payson
1efb6017ec
Initial Python3 support
...
Notable Changes:
-Convert all str types to byte types at cython layer (ascii encoding)
-Use six for packages that have different names in Python2/Python3
-By default, unit tests are compiled/run in Python2.7 and Python3.4
-Ensure MACOSX_BUILD_TARGET is at least 10.7
9 years ago
Ken Payson
707c9e29e0
Changed python proto build to use shared protos
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Makarand Dharmapurikar
aa212374ee
Cleaned up installation/test requirement fetching
9 years ago
Jan Tattermusch
17908c168d
Address comments and add a TODO.
9 years ago
Jan Tattermusch
e6cc9c7a25
custom test target for parallel test running
9 years ago
Masood Malekghassemi
3ee1f9b778
Update Python docgen
9 years ago
Vijay Pai
b48f4c830a
Merge remote-tracking branch 'upstream/master' into alarm_openloop
9 years ago
Masood Malekghassemi
f747409f6f
Use precompiled extensions only
9 years ago