Skip to content

Commit

Permalink
add version.txt as package data
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Jan 28, 2024
1 parent 3c620ae commit 1f842ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,6 @@ 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 1f842ba

Please sign in to comment.