Skip to content

Commit

Permalink
Remove .c and .h files from wheels, add default_rom.gb
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen committed Mar 20, 2024
1 parent 0f8dbcd commit 1defed0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
exclude **/*.c **/*.h tests/*
include pyboy/default_rom.gb
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,13 @@ build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
zip-safe = false

[tool.setuptools.packages.find]
where = ["."]
include = ["pyboy*"]
packages = ["pyboy"]

[tool.setuptools.package-data]
pyboy = ["pyboy/core/bootrom_dmg.bin"]
"*" = [
"**/*.pxi",
"**/*.pyx",
"**/*.pxd",
"**/*.c",
"**/*.h",
"**/bootrom*.bin",
"**/font.txt"
]
Expand Down

0 comments on commit 1defed0

Please sign in to comment.