Skip to content

Commit 67c7dbf

Browse files
Resolves setuptools "Package would be ignored" warnings
Removed MANIFEST.in, set include_package_data=False, added folders and files to package_data keyword of setup command.
1 parent 526f410 commit 67c7dbf

File tree

2 files changed

+24
-25
lines changed

2 files changed

+24
-25
lines changed

MANIFEST.in

Lines changed: 0 additions & 23 deletions
This file was deleted.

setup.py

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,31 @@ def _get_cmdclass():
176176
"dpctl.utils",
177177
],
178178
package_data={
179-
"dpctl": ["tests/*.*", "tests/helper/*.py", "tests/elementwise/*.py"]
179+
"dpctl": [
180+
"tests/*.*",
181+
"tests/helper/*.py",
182+
"tests/elementwise/*.py",
183+
"tests/*.pyx",
184+
"tests/input_files/*",
185+
"resources/cmake/*.cmake",
186+
"include/*.h*",
187+
"include/syclinterface/*.h*",
188+
"include/syclinterface/Config/*.h",
189+
"include/syclinterface/Support/*.h",
190+
"tensor/libtensor/include/kernels/*.h*",
191+
"tensor/libtensor/include/utils/*.h*",
192+
"tensor/include/dlpack/*.*",
193+
"_sycl*.h",
194+
"memory/_memory*.h",
195+
"program/_program*.h",
196+
"tensor/_usmarray*.h",
197+
"*.pxd",
198+
"memory/*.pxd",
199+
"tensor/*.pxd",
200+
"program/*.pxd",
201+
]
180202
},
181-
include_package_data=True,
203+
include_package_data=False,
182204
zip_safe=False,
183205
setup_requires=["Cython"],
184206
install_requires=[

0 commit comments

Comments
 (0)