Skip to content

Commit f007592

Browse files
committed
Test python package.
1 parent 9ebb3f3 commit f007592

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/ports/py_port/upload.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ if [[ "$PYPI_VERSION" == "$PORT_VERSION" ]]; then
2929
exit 0
3030
fi
3131

32+
# Delete previous build
33+
rm -rf dist build *.egg-info
34+
3235
# Install dependencies and upload MetaCall package
3336
python3 -m pip install --user --upgrade twine setuptools wheel build
3437
python3 -m build
3538
python3 -m twine check dist/*
3639
python3 -m twine upload dist/*
3740

3841
# Delete output
39-
rm -rf dist/* build/*
42+
rm -rf dist build *.egg-info

0 commit comments

Comments
 (0)