Skip to content

Commit 02536d0

Browse files
committed
Merge branch 'ncapens/tidy-up' into 'master'
Tidy up package creation See merge request mmacklin/warp!389
2 parents 415baf4 + 0e9ace4 commit 02536d0

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

build_llvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def build_from_source(args):
270270
def build_warp_clang(args, lib_name):
271271
try:
272272
cpp_sources = [
273-
"clang/clang.cpp",
273+
"native/clang/clang.cpp",
274274
"native/crt.cpp",
275275
]
276276
clang_cpp_paths = [os.path.join(build_path, cpp) for cpp in cpp_sources]

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+
)
File renamed without changes.

0 commit comments

Comments
 (0)