Skip to content

Commit 84acdea

Browse files
authored
Merge pull request #1450 from IntelPython/fix/manifest
Remove MANIFEST.in
2 parents 431dff7 + e42a8da commit 84acdea

File tree

4 files changed

+3
-22
lines changed

4 files changed

+3
-22
lines changed

MANIFEST.in

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

conda-recipe/bld.bat

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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"

conda-recipe/build.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,3 @@ ${PYTHON} -m pip install dist/numba_dpex*.whl \
3939
if [[ -v WHEELS_OUTPUT_FOLDER ]]; then
4040
cp dist/numba_dpex*.whl "${WHEELS_OUTPUT_FOLDER[@]}"
4141
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"

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import re
77

88
import versioneer
9-
from setuptools import find_packages
9+
from setuptools import find_namespace_packages, find_packages
1010
from 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,

0 commit comments

Comments
 (0)