Commit Graph

12 Commits

Author SHA1 Message Date
Lidi Zheng 31bce3b127 Remove redundent lines 2019-01-21 16:49:36 -08:00
Lidi Zheng 51ba492d6d Minimize the change 2019-01-21 16:26:33 -08:00
Lidi Zheng 2dbabc7a8f Add new grpc_tools setuptools command BuildPackageProtosStrict 2019-01-16 12:07:50 -08:00
Lidi Zheng 0579dcaed6 Escalate the failure of protoc execution 2019-01-16 10:26:59 -08: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
Jan Tattermusch ecb1fa194d fix protobuf_generated_well_known_types_embed.cc 2017-06-08 11:47:43 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02: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 f1cdf59b7f Patch overlooked strings from Python un-namespacing 2016-12-14 11:51:40 -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