File tree Expand file tree Collapse file tree 4 files changed +3
-22
lines changed
Expand file tree Collapse file tree 4 files changed +3
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -50,10 +50,3 @@ if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
5050 copy dist\numba_dpex*.whl %WHEELS_OUTPUT_FOLDER%
5151 if errorlevel 1 exit 1
5252)
53-
54- REM Delete artifacts from package
55- rd /s /q " %PREFIX% \__pycache__"
56- del " %PREFIX% \setup.py"
57- del " %PREFIX% \LICENSE"
58- del " %PREFIX% \README.md"
59- del " %PREFIX% \MANIFEST.in"
Original file line number Diff line number Diff line change @@ -39,10 +39,3 @@ ${PYTHON} -m pip install dist/numba_dpex*.whl \
3939if [[ -v WHEELS_OUTPUT_FOLDER ]]; then
4040 cp dist/numba_dpex* .whl " ${WHEELS_OUTPUT_FOLDER[@]} "
4141fi
42-
43- # Delete artifacts from package
44- rm -rf " ${PREFIX} /__pycache__"
45- rm " ${PREFIX} /setup.py"
46- rm " ${PREFIX} /LICENSE"
47- rm " ${PREFIX} /README.md"
48- rm " ${PREFIX} /MANIFEST.in"
Original file line number Diff line number Diff line change 66import re
77
88import versioneer
9- from setuptools import find_packages
9+ from setuptools import find_namespace_packages , find_packages
1010from skbuild import setup
1111
1212"""Top level setup.py file. Uses scikit-build.
@@ -58,7 +58,8 @@ def to_cmake_format(version: str):
5858 # Must be passed vis setup.py:
5959 # https://github.com/scikit-build/scikit-build/issues/864
6060 # TODO: switch to pyproject toml after switching to scikit-build-core
61- packages = find_packages ("." ),
61+ packages = find_packages ("." )
62+ + find_namespace_packages ("." , include = ["numba_dpex.examples.*" ]),
6263 # Needs for examples.
6364 # TODO: change to false once move examples out of package.
6465 include_package_data = True ,
You can’t perform that action at this time.
0 commit comments