Skip to content

Commit

Permalink
Add __init__.py file so find_packages picks up gapic.cli. (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesneeringer authored Nov 5, 2018
1 parent bf2b35b commit 1b8a975
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[run]
branch = True
omit =
gapic/cli/*.py
*_pb2.py

[report]
Expand Down
13 changes: 13 additions & 0 deletions gapic/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
3 changes: 3 additions & 0 deletions nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def showcase(session):
session.log('-' * 70)
session.run('netstat', '-plnt', '|', 'grep', ':7469', silent=True)

# Use the Python implementation of protocol buffers.
session.env['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'

# Install pytest and gapic-generator-python
session.install('pytest')
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

setup(
name='gapic-generator',
version='0.0.4',
version='0.0.5',
license='Apache 2.0',
author='Luke Sneeringer',
author_email='lukesneeringer@google.com',
Expand Down

0 comments on commit 1b8a975

Please sign in to comment.