Skip to content

Commit

Permalink
don't automatically include package data
Browse files Browse the repository at this point in the history
this excludes *.c & *.pyx in the wheel, but still includes them in
the source tarball.
  • Loading branch information
lilydjwg committed Oct 18, 2023
1 parent a5281ac commit a870470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
author_email="[email protected]",
packages=["pystemd", "pystemd.systemd1", "pystemd.machine1", "pystemd.DBus"],
ext_modules=external_modules,
include_package_data=False,
package_data={
"pystemd": [
str(p.relative_to("pystemd")) for p in Path("pystemd").glob("**/*.pyi")
Expand Down

0 comments on commit a870470

Please sign in to comment.