Skip to content

Commit 7b8723e

Browse files
Add __init__.py file so find_packages picks up gapic.cli. (#62)
1 parent f00cf47 commit 7b8723e

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

packages/gapic-generator/.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[run]
22
branch = True
33
omit =
4+
gapic/cli/*.py
45
*_pb2.py
56

67
[report]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2018 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

packages/gapic-generator/nox.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ def showcase(session):
5151
session.log('-' * 70)
5252
session.run('netstat', '-plnt', '|', 'grep', ':7469', silent=True)
5353

54+
# Use the Python implementation of protocol buffers.
55+
session.env['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'
56+
5457
# Install pytest and gapic-generator-python
5558
session.install('pytest')
5659
session.install('-e', '.')

packages/gapic-generator/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
setup(
2727
name='gapic-generator',
28-
version='0.0.4',
28+
version='0.0.5',
2929
license='Apache 2.0',
3030
author='Luke Sneeringer',
3131
author_email='lukesneeringer@google.com',

0 commit comments

Comments
 (0)