From: Melissa LeBlanc-Williams Date: Mon, 23 Jun 2025 15:48:52 +0000 (-0700) Subject: Add line to remove existing .egg-info directories X-Git-Tag: 8.61.0^2~1 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/945c4adca553f110860ecf2d60db900340f1a30c?ds=sidebyside Add line to remove existing .egg-info directories --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80940d0..8ea84f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,6 +49,7 @@ jobs: run: sphinx-build -E -W -b html . _build/html - name: Build Python package run: | + setuptools clean --all pip install --upgrade build twine 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; diff --git a/setup.py b/setup.py index 8822960..b793194 100644 --- a/setup.py +++ b/setup.py @@ -112,4 +112,4 @@ setup( "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: MicroPython", ], -) \ No newline at end of file +)