Commit Graph

48 Commits

Author SHA1 Message Date
Jan Tattermusch 185a0a7028 add python monkey-patch for parallel build_ext compilation 2018-10-31 09:01:01 +01:00
Mehrdad Afshari 981f19bed2 Remove protobuf js_embed hack 2018-08-16 11:18:00 -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
ncteisen 7a2be20a8a yapf tools/distrib 2017-12-11 16:49:19 -08:00
Mehrdad Afshari 0df9c8acdc Update Python dependency to protobuf v3.5.0.post1 2017-11-27 12:52:41 -08:00
Ken Payson f5f5ed0305 Fix syntax error on classifiers 2017-08-24 11:46:03 -07:00
Ken Payson 9c420447fa Add classifiers to package details 2017-07-25 12:06:46 -07:00
Jan Tattermusch cb8eaaa883 fix grpcio_tools build on kokoro 2017-07-18 17:26:27 +02:00
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Ken Payson 029090628d Upgrade protobuf to 3.3.0 2017-05-08 12:18:12 -07:00
Ken Payson 78354300bf Add package details to gRPC Packages 2017-03-10 10:47:45 -08:00
Mehrdad Afshari 9b3c73d1cd Updated protobuf dependency for python to 3.2.0 2017-03-07 22:10:15 +00:00
Jan Tattermusch 3b7bcc3eb0 fix grpcio_tools build on windows 2017-03-07 13:00:20 +01:00
Mehrdad Afshari 065d924436 Updated python scripts to work with protobuf 3.2.0
Since the build script of python grpcio-tools package
is very much entangled with the build system of protobuf,
and protobuf build scripts added a build step that
compiles js/embed.cc to create a preprocessor binary
that takes some .js files and generates a single
well_known_types_embed.cc which then gets linked to the
rest of protobuf source tree.

The generated code seems to be used only by the JS
portion of protoc, so is not expected to affect
our python build.  Since we did not want to replicate
the entire build process of protobuf, we decided to
pre-generate the well_known_types_embed.cc and keep
it in our repo and then substitute the js/embed.cc
compiler file with it.
2017-03-07 13:00:19 +01:00
Masood Malekghassemi 0702f628d7 Change grpcio_tools to grpcio-tools
This should address the difference in how we ask users to install
grpcio-tools and the files the user ends up downloading from PyPI.
2016-12-20 12:44:36 -08:00
Masood Malekghassemi fb261bf748 Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 15:04:30 -08:00
Nicolas "Pixel" Noble e3e17d3f6b Merge branch 'v1.0.x' of https://github.com/grpc/grpc 2016-08-20 01:45:32 +02:00
Ken Payson 8348973de9 Use templates for python version dependencies
Also change grpcio-tools to be a runtime dependency of grpcio-tests,
grpcio-tools is run as part of the tests.
2016-08-18 11:27:47 -07:00
Ken Payson 69ff5de496 Add Python3.5 grpcio-tools binaries 2016-08-17 15:31:16 -07:00
Ken Payson 5998cd760c Add Python3.5 artifact targets 2016-08-15 10:57:47 -07:00
Nicolas "Pixel" Noble 7f074e0e20 Merge branch 'v1.0.x' into manual-upmerge 2016-08-11 21:00:08 +02:00
Ken Payson e5fd01a389 Bump python protobuf dependency to 3.0.0 2016-08-03 11:43:15 -07:00
murgatroid99 598d5240c0 Fix merge again 2016-07-25 09:42:18 -07:00
murgatroid99 224fe989e4 Fixed incorrect merges 2016-07-22 13:28:25 -07:00
murgatroid99 2b7fe5a6c0 Actually commit changes to tools/distrib/python/grpcio_tools/setup.py 2016-07-22 11:03:31 -07:00
murgatroid99 316f73f6c1 Merge v1.0.x into master 2016-07-22 11:00:34 -07:00
Masood Malekghassemi 398b06e843 Force the Python host version on Mac OS X 2016-07-18 19:21:06 -07:00
Masood Malekghassemi 58a0494ceb Use normalized path separators in `setup.py`s 2016-07-16 01:45:18 -07:00
kpayson64 1198da0b5c Merge pull request #7314 from soltanmm/spinning-flags
Set more build-flags in `setup.py`s
2016-07-14 12:36:53 -07:00
Masood Malekghassemi d66be0b6f6 Set more build-flags in `setup.py`s
Removes MinGW flags from various build scripts, since they're now set in
our `setup.py`s by default. Also removes the arguments for the
extensions in grpcio's setup.py; that function was already accessing
globals anyway, might as well go whole-hog.
2016-07-13 14:33:33 -07:00
Nicolas "Pixel" Noble 1c41c29c26 Merge branch 'release-0_15' into upmerge-master
Conflicts:
	Makefile
	build.yaml
	gRPC-Core.podspec
	gRPC.podspec
	package.json
	package.xml
	src/core/lib/surface/version.c
	src/csharp/Grpc.Auth/project.json
	src/csharp/Grpc.Core/VersionInfo.cs
	src/csharp/Grpc.Core/project.json
	src/csharp/Grpc.HealthCheck/project.json
	src/csharp/build_packages.bat
	src/node/tools/package.json
	src/python/grpcio/grpc/__init__.py
	src/python/grpcio/grpc_version.py
	src/python/grpcio_tests/tests/unit/_rpc_test.py
	src/ruby/lib/grpc/version.rb
	src/ruby/tools/version.rb
	templates/gRPC.podspec.template
	tools/distrib/python/grpcio_tools/grpc_version.py
	tools/doxygen/Doxyfile.c++
	tools/doxygen/Doxyfile.c++.internal
	tools/doxygen/Doxyfile.core
	tools/doxygen/Doxyfile.core.internal
	tools/run_tests/port_server.py
2016-07-12 04:30:57 +02:00
Masood Malekghassemi 586e3835fe Make Python build standalone on Windows 2016-07-08 12:36:04 -07:00
Ken Payson e4123f3083 Updated release version to 0.15.1 2016-07-01 14:54:52 -07:00
Masood Malekghassemi ebf81e7a05 Add programmatic access to protoc in grpcio-tools 2016-07-01 10:18:43 -07:00
Masood Malekghassemi d5fee35f93 Build Python3 grpcio-tools on OS X 2016-07-01 10:18:38 -07:00
Jan Tattermusch 032a03e167 Merge pull request #6828 from soltanmm/arkenhammer
Add common proto files to Python grpcio-tools
2016-06-09 15:48:45 -07:00
Masood Malekghassemi 2dbc217e5e Add common proto files to Python grpcio-tools 2016-06-07 16:57:14 -07:00
Masood Malekghassemi d4b4009c37 Use Python namespace packages
Before, namespace packages would break in auditwheel due to a
superfluous check (fixed in the commit referenced in the Dockerfiles).
Now, the auditwheel used in the manylinux1-support Docker images can
handle namespace packages, and we may thus use them. This should
alleviate future user pain w.r.t. installation of grpcio-tools causing
loss of grpcio files and vice versa (e.g. requiring a reinstall of
grpcio following installation of grpcio-tools).
2016-06-06 18:55:43 -07:00
Masood Malekghassemi 8231867637 Add explicit license to grpcio-tools setup.py 2016-05-09 11:21:20 -07:00
Jan Tattermusch 5701ae8a34 Merge pull request #6483 from soltanmm/wind2
Fix windows linkage in Python grpcio-tools
2016-05-09 10:34:00 -07:00
Masood Malekghassemi b4e82f7897 Fix windows linkage in Python grpcio-tools 2016-05-07 13:01:14 -07:00
Jan Tattermusch 4e2f7727a9 rename grpc.protoc.compiler to grpc.tools.protoc 2016-05-06 12:28:58 -07:00
Masood Malekghassemi 010eb48d21 Use manylinux 2016-05-04 15:30:30 -07:00
Masood Malekghassemi 955887928f Keep grpcio_tools version in sync with rest of project 2016-05-04 15:30:30 -07:00
Masood Malekghassemi 0e25c8d71a Tightly integrate the Python plugin with its protoc
This grossly simplifies the protoc invocation to:
python -m grpc.protoc.compiler --python_out=... --grpc_python_out=...
[...] --plugin=protoc-gen-python-grpc=grpc_python_protoc_plugin... [...]
2016-05-04 15:30:30 -07:00
Masood Malekghassemi 58d24c259a Add sanity test for grpcio protoc package 2016-05-04 15:30:30 -07:00