]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Add line to remove existing .egg-info directories
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 23 Jun 2025 15:48:52 +0000 (08:48 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 23 Jun 2025 15:48:52 +0000 (08:48 -0700)
.github/workflows/build.yml
setup.py

index 80940d0f12cfb7e33f6361f5734d25ead33f1585..8ea84f0cfc4f23db9515c88ab7cb4e4982bbf5ca 100644 (file)
@@ -49,6 +49,7 @@ jobs:
       run: sphinx-build -E -W -b html . _build/html
     - name: Build Python package
       run: |
       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;
         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;
index 88229600256223fab41d2d519e71d3d6aa15dfc7..b793194a77aaa833dedbf8ba698bf4b391e9b3a3 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -112,4 +112,4 @@ setup(
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: Implementation :: MicroPython",
     ],
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: Implementation :: MicroPython",
     ],
-)
\ No newline at end of file
+)