Skip to content

Commit

Permalink
Merge pull request IntelPython#1450 from IntelPython/fix/manifest
Browse files Browse the repository at this point in the history
Remove MANIFEST.in
  • Loading branch information
ZzEeKkAa authored May 6, 2024
2 parents 431dff7 + e42a8da commit 84acdea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 22 deletions.
6 changes: 0 additions & 6 deletions MANIFEST.in

This file was deleted.

7 changes: 0 additions & 7 deletions conda-recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,3 @@ if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
copy dist\numba_dpex*.whl %WHEELS_OUTPUT_FOLDER%
if errorlevel 1 exit 1
)

REM Delete artifacts from package
rd /s /q "%PREFIX%\__pycache__"
del "%PREFIX%\setup.py"
del "%PREFIX%\LICENSE"
del "%PREFIX%\README.md"
del "%PREFIX%\MANIFEST.in"
7 changes: 0 additions & 7 deletions conda-recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,3 @@ ${PYTHON} -m pip install dist/numba_dpex*.whl \
if [[ -v WHEELS_OUTPUT_FOLDER ]]; then
cp dist/numba_dpex*.whl "${WHEELS_OUTPUT_FOLDER[@]}"
fi

# Delete artifacts from package
rm -rf "${PREFIX}/__pycache__"
rm "${PREFIX}/setup.py"
rm "${PREFIX}/LICENSE"
rm "${PREFIX}/README.md"
rm "${PREFIX}/MANIFEST.in"
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import re

import versioneer
from setuptools import find_packages
from setuptools import find_namespace_packages, find_packages
from skbuild import setup

"""Top level setup.py file. Uses scikit-build.
Expand Down Expand Up @@ -58,7 +58,8 @@ def to_cmake_format(version: str):
# Must be passed vis setup.py:
# https://github.com/scikit-build/scikit-build/issues/864
# TODO: switch to pyproject toml after switching to scikit-build-core
packages=find_packages("."),
packages=find_packages(".")
+ find_namespace_packages(".", include=["numba_dpex.examples.*"]),
# Needs for examples.
# TODO: change to false once move examples out of package.
include_package_data=True,
Expand Down

0 comments on commit 84acdea

Please sign in to comment.