Skip to content

Commit

Permalink
Fix MANIFEST.in to include input.h and _libgambatte.pxd in source dis…
Browse files Browse the repository at this point in the history
…tribution
  • Loading branch information
vxgmichel committed Jul 2, 2024
1 parent 842b34d commit 40b4da1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ include LICENSE
include README.md

recursive-include libgambatte *.cpp *.h
recursive-include ext *.pyx *.pxd *.h
recursive-include *_ext *.pyx *.pxd *.h
12 changes: 9 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@
)
)


# The gambatte extension, including libgambatte with the Cython wrapper
gambatte_extension = Extension(
"gambaterm.libgambatte",
language="c++",
include_dirs=libgambatte_include_dirs + [numpy.get_include()],
include_dirs=[
*libgambatte_include_dirs,
"libgambatte_ext",
numpy.get_include(),
],
extra_compile_args=["-DHAVE_STDINT_H"],
sources=libgambatte_sources + ["libgambatte_ext/libgambatte.pyx"],
sources=[
*libgambatte_sources,
"libgambatte_ext/libgambatte.pyx",
],
)


Expand Down

0 comments on commit 40b4da1

Please sign in to comment.