Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove MANIFEST.in #1450

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading