Skip to content

Commit

Permalink
Merge pull request #15 from lsst-sqre/tickets/DM-35548
Browse files Browse the repository at this point in the history
DM-35548: Add py.typed file (for 0.2.1 release)
  • Loading branch information
jonathansick committed Jul 15, 2022
2 parents af3d533 + dbd3418 commit 8eaa6f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 0.2.1 (2022-07-15)

A `py.typed` file is now included to advertise typo annotations in Kafkit.

## 0.2.0 (2022-07-15)

- Python versions 3.7 and earlier are no longer supported because Kafkit is adopting the `annotations` import from `__future__` and native support for `importlib.metadata`.
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ keywords = [
"rubin",
"lsst",
]
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
Expand All @@ -22,6 +23,7 @@ classifiers = [
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: POSIX",
"Typing :: Typed",
]
requires-python = ">=3.8"
dependencies = [
Expand Down Expand Up @@ -68,6 +70,10 @@ build-backend = 'setuptools.build_meta'
where = ["src"]
include = ["kafkit*"]

[tool.setuptools.package-data]
# https://setuptools.pypa.io/en/latest/userguide/datafiles.html#package-data
kafkit = ["py.typed"]

[tool.setuptools_scm]

[tool.coverage.run]
Expand Down
Empty file added src/kafkit/py.typed
Empty file.

0 comments on commit 8eaa6f8

Please sign in to comment.