From 026f249c1dfaf95e6839977d98a555e057f5c2ba Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> Date: Thu, 5 Aug 2021 12:46:31 +0300 Subject: [PATCH] Don't add legacy setup.py in sdist (#115) * Don't add legacy setup.py in sdist * Add changelog --- .github/workflows/tests.yaml | 2 +- CHANGELOG.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d7d5c68..6b3c0ba 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -101,7 +101,7 @@ jobs: pip install "flit==3.3.0" - name: Build and publish run: | - flit publish + flit publish --no-setup-py env: FLIT_USERNAME: __token__ FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index d3ee817..5bbc64f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ - Fixed - Raise an error if a carriage return (without a following line feed) is found in a multi-line basic string +- Packaging + - Remove legacy `setup.py` from PyPI source distribution. + If you're a packager and absolutely need this file, please create an issue. ## 1.2.0