Skip to content

Commit

Permalink
Add py.typed file and include in published package (tensorflow#325)
Browse files Browse the repository at this point in the history
Add py.typed file and include in published package.

Review: @95-martin-orion
  • Loading branch information
maffoo authored Apr 22, 2021
1 parent 4c060f3 commit 8448a59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions qsimcirq/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Marker file for PEP 561. This package uses inline types.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def build_extension(self, ext):
version=__version__,
author='Vamsi Krishna Devabathini',
author_email='[email protected]',
python_requires=('>=3.3.0'),
python_requires='>=3.3.0',
install_requires=requirements,
license='Apache 2',
description=description,
Expand All @@ -90,4 +90,6 @@ def build_extension(self, ext):
ext_modules=[CMakeExtension('qsimcirq/qsim')],
cmdclass=dict(build_ext=CMakeBuild),
zip_safe=False,
packages=['qsimcirq'])
packages=['qsimcirq'],
package_data={'qsimcirq': ['py.typed']},
)

0 comments on commit 8448a59

Please sign in to comment.