Skip to content

Commit

Permalink
Also uninstall setuptools before packing the dist.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumol committed Oct 3, 2024
1 parent 6187a23 commit e4868b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ command_install_python_modules() {
execute "$PYTHON_BIN" -m pip install "${PIP_ARGS[@]}" "$library"
done

echo "# Uninstalling wheel... #"
execute "$PYTHON_BIN" -m pip uninstall --yes wheel
echo "# Uninstalling wheel and setuptools... #"
execute "$PYTHON_BIN" -m pip uninstall --yes wheel setuptools

echo "# Regenerating requirements.txt file... #"
execute "$PYTHON_BIN" -m pip freeze --all > requirements.txt
Expand Down

0 comments on commit e4868b4

Please sign in to comment.