Add line to remove existing .egg-info directories

This commit is contained in:
Melissa LeBlanc-Williams 2025-06-23 08:48:52 -07:00
parent cd40c2fcd5
commit 945c4adca5
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,7 @@ jobs:
run: sphinx-build -E -W -b html . _build/html run: sphinx-build -E -W -b html . _build/html
- name: Build Python package - name: Build Python package
run: | run: |
setuptools clean --all
pip install --upgrade build twine pip install --upgrade build twine
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
sed -i -e "s/0.0.0+auto.0/1.2.3/" $file; sed -i -e "s/0.0.0+auto.0/1.2.3/" $file;