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%"=="" (
50
50
copy dist\numba_dpex*.whl %WHEELS_OUTPUT_FOLDER%
51
51
if errorlevel 1 exit 1
52
52
)
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 \
39
39
if [[ -v WHEELS_OUTPUT_FOLDER ]]; then
40
40
cp dist/numba_dpex* .whl " ${WHEELS_OUTPUT_FOLDER[@]} "
41
41
fi
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 6
6
import re
7
7
8
8
import versioneer
9
- from setuptools import find_packages
9
+ from setuptools import find_namespace_packages , find_packages
10
10
from skbuild import setup
11
11
12
12
"""Top level setup.py file. Uses scikit-build.
@@ -58,7 +58,8 @@ def to_cmake_format(version: str):
58
58
# Must be passed vis setup.py:
59
59
# https://github.com/scikit-build/scikit-build/issues/864
60
60
# 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.*" ]),
62
63
# Needs for examples.
63
64
# TODO: change to false once move examples out of package.
64
65
include_package_data = True ,
You can’t perform that action at this time.
0 commit comments