Skip to content

Commit 2ce0702

Browse files
Remove artifacts from conda/wheel packages residing in root level
1 parent ebc5ed4 commit 2ce0702

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

conda-recipe/bld.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,9 @@ if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
4444
copy dist\numba_dpex*.whl %WHEELS_OUTPUT_FOLDER%
4545
if errorlevel 1 exit 1
4646
)
47+
48+
REM Delete artifacts from package
49+
del %PREFIX%\setup.py
50+
del %PREFIX%\LICENSE
51+
del %PREFIX%\README.md
52+
del %PREFIX%\MANIFEST.in

conda-recipe/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ ${PYTHON} -m pip install dist/numba_dpex*.whl
3333
if [[ -v WHEELS_OUTPUT_FOLDER ]]; then
3434
cp dist/numba_dpex*.whl "${WHEELS_OUTPUT_FOLDER[@]}"
3535
fi
36+
37+
# Delete artifacts from package
38+
rm ${PREFIX}/setup.py
39+
rm ${PREFIX}/LICENSE
40+
rm ${PREFIX}/README.md
41+
rm ${PREFIX}/MANIFEST.in

0 commit comments

Comments
 (0)