diff options
author | 2016-02-22 18:46:05 -0800 | |
---|---|---|
committer | 2016-02-22 18:46:05 -0800 | |
commit | fe9ef1eeca56c49a6bcbc54529f457a86b9b766d (patch) | |
tree | 3f7680369df6a178bd3a7ff1b2ad23cb3a400438 /src/python/grpcio | |
parent | f928c4bee57ea23530fce0f6c5bdb06e379b6a02 (diff) | |
parent | 3ee1f9b7784b680b03d28d92efdffae9b7ad476d (diff) |
Merge pull request #5362 from soltanmm/updoc
Update Python docgen.
Diffstat (limited to 'src/python/grpcio')
-rw-r--r-- | src/python/grpcio/commands.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py index aa29c728f2..99ba41b614 100644 --- a/src/python/grpcio/commands.py +++ b/src/python/grpcio/commands.py @@ -119,8 +119,7 @@ class SphinxDocumentation(setuptools.Command): import sphinx import sphinx.apidoc metadata = self.distribution.metadata - src_dir = os.path.join( - PYTHON_STEM, self.distribution.package_dir[''], 'grpc') + src_dir = os.path.join(PYTHON_STEM, 'grpc') sys.path.append(src_dir) sphinx.apidoc.main([ '', '--force', '--full', '-H', metadata.name, '-A', metadata.author, |