From f990e262fa57f65a8bec4f4d9eafd83e57093d37 Mon Sep 17 00:00:00 2001 From: Thomas Schultz Date: Thu, 16 Jun 2016 18:35:27 -0400 Subject: [PATCH] closes #1864, mock grpcio when generating docs. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 977dd551523d..6757414aa0b0 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ 'gax-google-pubsub-v1', ] -if sys.version_info[:2] == (2, 7): +if sys.version_info[:2] == (2, 7) and 'READTHEDOCS' not in os.environ: REQUIREMENTS.extend(GRPC_EXTRAS) setup(