Skip to content

Commit

Permalink
include py.typed in MANIFEST rather than setup
Browse files Browse the repository at this point in the history
  • Loading branch information
electronstudio committed Nov 17, 2024
1 parent 623b9c1 commit 697029f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ exclude raylib/*.c
exclude raylib/*.o
include version.py
exclude tests/*

include raylib/py.typed
include pyray/py.typed


4 changes: 3 additions & 1 deletion dynamic/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ include raylib/*.so
include version.py
exclude raylib/*.a
exclude raylib/*.c
exclude raylib/*.o
exclude raylib/*.o
include raylib/py.typed
include pyray/py.typed
Empty file added dynamic/raylib/py.typed
Empty file.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def has_ext_modules(foo):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
],
package_data={"raylib": ["py.typed"], "pyray": ["py.typed"]},
packages=["raylib", "pyray"],
include_package_data=True,
setup_requires=["cffi>=1.17.1"],
Expand Down

0 comments on commit 697029f

Please sign in to comment.