Skip to content

Commit

Permalink
Merge pull request #101 from magmax/py-typed
Browse files Browse the repository at this point in the history
include `py.typed` in package
  • Loading branch information
Cube707 authored Mar 15, 2023
2 parents f370fea + 6a6bda2 commit b44a91c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion readchar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Library to easily read single chars and key strokes"""

__version__ = "4.0.4-dev0"
__version__ = "4.0.4-dev3"
__all__ = ["readchar", "readkey", "key", "config"]

from sys import platform
Expand Down
Empty file added readchar/py.typed
Empty file.
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ packages = find:
install_requires =
setuptools>=41.0
python_requires = >=3.7
include_package_data = True
zip_safe = false

[options.packages.find]
exclude =
Expand All @@ -49,6 +51,10 @@ exclude =
.venv/
tests/

[options.package_data]
readchar =
py.typed

[tool:pytest]
testpaths = tests
addopts = -r fEsxwX -s --cov=readchar
Expand Down

0 comments on commit b44a91c

Please sign in to comment.