Commit Graph

66 Commits

Author SHA1 Message Date
Lidi Zheng a7a3f5b42e
Merge pull request #17074 from lidizheng/python-doc-gen
The new gRPC Python documentation generator
2018-11-07 11:08:19 -08:00
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
2018-11-06 18:07:03 -08:00
Lidi Zheng 03841be6ce Add background about the special condition 2018-11-06 16:12:27 -08:00
Lidi Zheng 4e5ee57000 Change flag to `REQUIRE_CUSTOM_LIBRARIES_opt` 2018-10-30 10:00:55 -07:00
Lidi Zheng 7502a2311a
Try cleaner separation
* reduce possible contamination of environment variables
2018-10-29 22:48:35 -07:00
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!
2018-10-29 21:14:49 -07:00
Lidi Zheng 9569ebe770 Add reference to the issue 2018-10-29 16:38:20 -07:00
Lidi Zheng 465886533f Ensure libboringssl.a is always built for Python 2018-10-29 16:35:21 -07:00
Eric Gribkoff 0ff641a246 Define the allow pthread atfork macro for gRPC Python MacOS builds 2018-08-22 12:25:08 -07:00
Mehrdad Afshari 87cd994b04 Upgrade yapf to 0.20.0
Upgrade yapf version to 0.20.0 and reformat Python files.
2018-01-02 14:40:00 -08:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Ken Payson b91c5fb8ba Fix python artifact build 2017-05-09 13:28:32 -07:00
Ken Payson 0eac8aa220 Yapf_code 2017-04-17 01:58:15 -07:00
Ken Payson 63b0d11ca8 Final changes 2017-04-17 00:03:40 -07:00
Ken Payson ae5ca1b447 Fixes 2017-04-14 16:34:26 -07:00
Ken Payson 5b034e6a4f Windows + mac dbg fix 2017-04-14 16:25:51 -07:00
Ken Payson 571c75aa33 Switch to Makefile based build on mac 2017-04-13 16:39:37 -07:00
Ken Payson 3b90055f2c Fix mac build 2017-04-10 15:53:17 -07:00
Ken Payson 2fa5f2f978 Re-run yapf code, and pin version 2017-02-06 10:27:09 -08:00
Masood Malekghassemi 6b890d1dd3 Run yapf over Python code 2017-01-23 15:10:28 -05:00
Masood Malekghassemi cc793703bf Run Python formatting 2017-01-17 10:55:33 -08:00
Masood Malekghassemi 25186ae0f1 Set Python documentation copyright 2016-12-27 09:57:09 -08:00
Ken Payson 7722245ce8 Make .pxi imports relative 2016-09-11 22:06:05 -07:00
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.
2016-07-22 13:56:36 -07:00
Masood Malekghassemi 48d07c6489 Add special methods to generated Python docs
Also removes an old-now-spurious `make` invocation from the docgen.py
helper script.
2016-07-12 16:20:29 -07:00
Ken Payson f7f47a6d26 Added Glossary to docs with metadata definition 2016-07-12 10:43:27 -07:00
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).
2016-07-01 10:18:45 -07:00
David Garcia Quintas 5ad70a6953 removed spurious .format() 2016-06-17 19:03:10 -07:00
David Garcia Quintas 377bfdef92 added extra path to python protoc 2016-06-17 18:59:56 -07:00
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
2016-06-10 11:48:24 -07:00
Ken Payson 707c9e29e0 Changed python proto build to use shared protos 2016-04-26 13:56:17 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Jan Tattermusch 68edc15796 Merge pull request #5679 from makdharma/master
Cleaned up installation/test requirement fetching
2016-03-20 15:54:03 -07:00
Craig Tiller 6387add103 Merge pull request #5540 from soltanmm/upmerge
Merge release-0_13 into master
2016-03-09 20:02:08 -08:00
Makarand Dharmapurikar aa212374ee Cleaned up installation/test requirement fetching 2016-03-09 11:15:35 -08:00
Jan Tattermusch 17908c168d Address comments and add a TODO. 2016-03-07 15:04:17 -08:00
Jan Tattermusch e6cc9c7a25 custom test target for parallel test running 2016-03-07 13:08:59 -08:00
Masood Malekghassemi 3ee1f9b778 Update Python docgen 2016-02-22 18:37:51 -08:00
Masood Malekghassemi f747409f6f Use precompiled extensions only 2016-02-12 13:45:37 -08:00
Masood Malekghassemi dd6ee7af7e Truncate Python target triple 2016-02-11 20:08:49 -08:00
Masood Malekghassemi b6d3a8238d Paper over custom command limitations
The custom gRPC bdist command depends on numerous undocumented and
private behaviors of setuptools, wheel, distutils, etc. One such is the
ordering of generated distribution targets. We paper over this under the
assumption that the command will only be useful for gRPC devs, and
document with a command description a contractual obligation of users of
the command.
2016-02-11 14:08:11 -08:00
Masood Malekghassemi 334e9e6fa2 Use wheels instead for custom bdists 2016-02-11 12:00:55 -08:00
Nathaniel Manista 757c157d86 Merge pull request #5134 from soltanmm/cleaners
Clean-up Python linux-binary installation.
2016-02-08 14:57:59 -08:00
Masood Malekghassemi 35afe4afaf Fall back to building if GCS cannot be reached 2016-02-08 14:51:31 -08:00
Masood Malekghassemi 6598ce16db Move os.environ to module-level 2016-02-08 14:51:04 -08:00
Masood Malekghassemi 064d37d380 Fix GCS URL for Python 2016-02-08 12:19:24 -08:00
Craig Tiller 5c04760d46 Change default on Python install option 2016-02-05 14:25:56 -08:00
Masood Malekghassemi f751b0b549 Use envvar for binary repository 2016-02-04 14:21:09 -08:00
Masood Malekghassemi 5260670e00 Merge pull request #4944 from soltanmm/patch
Clean up custom gRPC Python binaries for Linux
2016-02-04 10:30:24 -08:00
Masood Malekghassemi 5080909b4c Pass undiagnosed errors to the user unadulterated 2016-01-30 14:27:28 -08:00