aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/commands.py
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-09-10 08:49:57 -0700
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-09-10 08:57:40 -0700
commit38fc0bb3d591246b527d52ec19583a833ab84f8b (patch)
treeaa6d43e9bb9bcaf43a691a68e94ac035547158cb /src/python/grpcio/commands.py
parent6c99ad0b7623f91eabc358f84cbe0b1d70b6bc33 (diff)
Fix Python docgen
The old package directory handling was stale in grpcio's setup.py command support module and docgen had a typo.
Diffstat (limited to 'src/python/grpcio/commands.py')
-rw-r--r--src/python/grpcio/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py
index 89c0fbf0f3..8a2f2d6283 100644
--- a/src/python/grpcio/commands.py
+++ b/src/python/grpcio/commands.py
@@ -64,7 +64,7 @@ class SphinxDocumentation(setuptools.Command):
import sphinx.apidoc
metadata = self.distribution.metadata
src_dir = os.path.join(
- os.getcwd(), self.distribution.package_dir['grpc'])
+ os.getcwd(), self.distribution.package_dir[''], 'grpc')
sys.path.append(src_dir)
sphinx.apidoc.main([
'', '--force', '--full', '-H', metadata.name, '-A', metadata.author,