Skip to content

Commit

Permalink
add comment about py.typed file to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Jun 10, 2021
1 parent b3f1429 commit 484bc69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGE_LOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
2021-XX-XX 2.1.1:
-------------------
* add type hinting (see PEP 484, 561) using .pyi files
* add type hinting (see PEP 484, 561) using stub (`.pyi`) files
* add tests


Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
],
description = "efficient arrays of booleans -- C extension",
packages = ["bitarray"],
package_data = {"bitarray": ["*.h", "*.pickle", "py.typed", "*.pyi"]},
package_data = {"bitarray": ["*.h", "*.pickle",
"py.typed", # see PEP 561
"*.pyi"]},
ext_modules = [Extension(name = "bitarray._bitarray",
sources = ["bitarray/_bitarray.c"]),
Extension(name = "bitarray._util",
Expand Down

0 comments on commit 484bc69

Please sign in to comment.