Skip to content

Commit 8eaa6f8

Browse files
authored
Merge pull request #15 from lsst-sqre/tickets/DM-35548
DM-35548: Add py.typed file (for 0.2.1 release)
2 parents af3d533 + dbd3418 commit 8eaa6f8

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log
22

3+
## 0.2.1 (2022-07-15)
4+
5+
A `py.typed` file is now included to advertise typo annotations in Kafkit.
6+
37
## 0.2.0 (2022-07-15)
48

59
- 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`.

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ keywords = [
1111
"rubin",
1212
"lsst",
1313
]
14+
# https://pypi.org/classifiers/
1415
classifiers = [
1516
"Development Status :: 4 - Beta",
1617
"License :: OSI Approved :: MIT License",
@@ -22,6 +23,7 @@ classifiers = [
2223
"Intended Audience :: Developers",
2324
"Natural Language :: English",
2425
"Operating System :: POSIX",
26+
"Typing :: Typed",
2527
]
2628
requires-python = ">=3.8"
2729
dependencies = [
@@ -68,6 +70,10 @@ build-backend = 'setuptools.build_meta'
6870
where = ["src"]
6971
include = ["kafkit*"]
7072

73+
[tool.setuptools.package-data]
74+
# https://setuptools.pypa.io/en/latest/userguide/datafiles.html#package-data
75+
kafkit = ["py.typed"]
76+
7177
[tool.setuptools_scm]
7278

7379
[tool.coverage.run]

src/kafkit/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)