From 9a54627c0bb97691422d2530dca9979e71bc4017 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Mon, 20 Jul 2020 10:23:19 -0700 Subject: [PATCH] Include re2 in source wheel && solve the missing --all complain --- PYTHON-MANIFEST.in | 1 + src/python/grpcio/commands.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/PYTHON-MANIFEST.in b/PYTHON-MANIFEST.in index b63748b13e9..391de4e907e 100644 --- a/PYTHON-MANIFEST.in +++ b/PYTHON-MANIFEST.in @@ -8,6 +8,7 @@ graft third_party/abseil-cpp/absl graft third_party/address_sorting graft third_party/boringssl-with-bazel graft third_party/cares +graft third_party/re2 graft third_party/upb graft third_party/zlib include src/python/grpcio/_parallel_compile_patch.py diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py index fb678eb2d53..5b21daaf444 100644 --- a/src/python/grpcio/commands.py +++ b/src/python/grpcio/commands.py @@ -298,7 +298,9 @@ class Clean(setuptools.Command): """Command to clean build artifacts.""" description = 'Clean build artifacts.' - user_options = [] + user_options = [ + ('all', 'a', 'a phony flag to allow our script to continue'), + ] _FILE_PATTERNS = ( 'python_build', @@ -311,7 +313,7 @@ class Clean(setuptools.Command): os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../..")) def initialize_options(self): - pass + self.all = False def finalize_options(self): pass