Skip to content

Commit

Permalink
MANYFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Jan 28, 2024
1 parent 1f842ba commit 7f59062
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
10 changes: 10 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# sdist & wheel
include ../version.txt
recursive-include ../include *

# wheel-only
exclude flashinfer/_build_meta.py

# Unneeded files
prune */__pycache__
global-exclude *.so
10 changes: 10 additions & 0 deletions python/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# sdist & wheel
include ../version.txt
recursive-include ../include *

# wheel-only
exclude flashinfer/_build_meta.py

# Unneeded files
prune */__pycache__
global-exclude *.so
2 changes: 0 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,4 @@ def remove_unwanted_pytorch_nvcc_flags():
python_requires=">=3.9",
ext_modules=ext_modules,
cmdclass={"build_ext": torch_cpp_ext.BuildExtension},
package_data={'': ["../version.txt"]},
include_package_data=True
)

0 comments on commit 7f59062

Please sign in to comment.