Skip to content

Commit 0e9ace4

Browse files
committed
Package only source files and libraries
Specifically, `setup.py` previously also packaged `.obj` files that for the moment get placed next to their respective `.cpp` file as part of the build process.
1 parent 0ed2f88 commit 0e9ace4

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

setup.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,17 @@
1414
long_description_content_type="text/markdown",
1515
license="NVSCL",
1616
packages=setuptools.find_packages(),
17-
package_data={"": ["native/*", "native/nanovdb/*", "tests/assets/*", "bin/*"]},
17+
package_data={
18+
"": [
19+
"native/*.cpp",
20+
"native/*.cu",
21+
"native/*.h",
22+
"native/clang/*.cpp",
23+
"native/nanovdb/*.h",
24+
"tests/assets/*",
25+
"bin/*",
26+
]
27+
},
1828
classifiers=[
1929
"Programming Language :: Python :: 3.7",
2030
"Programming Language :: Python :: 3.8",
@@ -25,5 +35,5 @@
2535
"Operating System :: OS Independent",
2636
],
2737
install_requires=["numpy"],
28-
python_requires=">=3.7"
29-
)
38+
python_requires=">=3.7",
39+
)

0 commit comments

Comments
 (0)