Skip to content

Commit b44a91c

Browse files
authored
Merge pull request #101 from magmax/py-typed
include `py.typed` in package
2 parents f370fea + 6a6bda2 commit b44a91c

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

readchar/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Library to easily read single chars and key strokes"""
22

3-
__version__ = "4.0.4-dev0"
3+
__version__ = "4.0.4-dev3"
44
__all__ = ["readchar", "readkey", "key", "config"]
55

66
from sys import platform

readchar/py.typed

Whitespace-only changes.

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ packages = find:
4141
install_requires =
4242
setuptools>=41.0
4343
python_requires = >=3.7
44+
include_package_data = True
45+
zip_safe = false
4446

4547
[options.packages.find]
4648
exclude =
@@ -49,6 +51,10 @@ exclude =
4951
.venv/
5052
tests/
5153

54+
[options.package_data]
55+
readchar =
56+
py.typed
57+
5258
[tool:pytest]
5359
testpaths = tests
5460
addopts = -r fEsxwX -s --cov=readchar

0 commit comments

Comments
 (0)