Skip to content

Commit

Permalink
I hate the setup api
Browse files Browse the repository at this point in the history
  • Loading branch information
MosesofEgypt committed Jan 14, 2020
1 parent b57f08e commit 7884ff9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,17 @@ def build_extension(self, ext):
'reclaimer.util',
],
ext_modules = [
Extension("reclaimer.sounds.ext.adpcm_ext", ["reclaimer/sounds/src/adpcm_ext.c"]),
Extension("reclaimer.sounds.ext.adpcm_ext",
# Explicitly including all these because I can't figure out this damn setup script
sources=["reclaimer/sounds/src/adpcm_ext.c", "reclaimer/sounds/src/shared.h",
"reclaimer/sounds/src/adpcm-xq/adpcm-lib.c",
"reclaimer/sounds/src/adpcm-xq/adpcm-lib.h",
"reclaimer/sounds/src/adpcm-xq/license.txt",]),
],
package_data={
'': ['*.txt', '*.md', '*.rst',
'**/p8_palette_halo', '**/p8_palette_halo_diff_map',
'**/p8_palette_stubbs', '**/p8_palette_stubbs_diff_map',
'**/sounds/src/*'],
'**/p8_palette_stubbs', '**/p8_palette_stubbs_diff_map']
},
platforms=["POSIX", "Windows"],
keywords=["reclaimer", "halo"],
Expand Down

0 comments on commit 7884ff9

Please sign in to comment.