Skip to content

Commit

Permalink
ensure py.typed included
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Apr 19, 2023
1 parent d5ce4cb commit 408baa3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ run-checks :
ruff check .
mypy .
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ my_package/

.PHONY : build
build :
rm -rf *.egg-info/
python -m build
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ exclude = [
"scripts*"
]

[tool.setuptools]
include-package-data = true

[tool.setuptools.package-data]
my_package = ["py.typed"]

Expand Down

0 comments on commit 408baa3

Please sign in to comment.