Skip to content

Commit

Permalink
chore(python): include py.typed files in release (#934)
Browse files Browse the repository at this point in the history
A py.typed file must be included in the released package for it to be considered typed by type checkers. https://www.python.org/dev/peps/pep-0561/#packaging-type-information. See googleapis/python-secret-manager#79
  • Loading branch information
busunkim96 committed Feb 6, 2021
1 parent 692715c commit 3336657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synthtool/gcp/templates/python_library/MANIFEST.in
Expand Up @@ -16,10 +16,10 @@

# Generated by synthtool. DO NOT EDIT!
include README.rst LICENSE
recursive-include google *.json *.proto
recursive-include google *.json *.proto py.typed
recursive-include tests *
global-exclude *.py[co]
global-exclude __pycache__

# Exclude scripts for samples readmegen
prune scripts/readme-gen
prune scripts/readme-gen

0 comments on commit 3336657

Please sign in to comment.