diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2022-06-29 09:58:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 09:58:46 +0200 |
commit | 1c3c18f4126a84b83941fef666ff03c0e7c6cabb (patch) | |
tree | b3e3e72f5b68a31f8c6f35b239fc86373c20724f /.github/workflows/release.yml | |
parent | 88ccd6fd0d8111b3aacedc4a0d3466468dc0e217 (diff) | |
download | astroid-git-1c3c18f4126a84b83941fef666ff03c0e7c6cabb.tar.gz |
Improve packaging [PEP 517 + 621] (#1670)
* Use isolated build environments
* Use new project metadata format [PEP 621]
* Move remaining flake8 config to setup.cfg
* Update pre-commit config
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f47509e..4d296d5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,11 +25,12 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Install requirements run: | - python -m pip install -U pip twine wheel - python -m pip install -U "setuptools>=56.0.0" + # Remove dist, build, and astroid.egg-info + # when building locally for testing! + python -m pip install twine build - name: Build distributions run: | - python setup.py sdist bdist_wheel + python -m build - name: Upload to PyPI if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') env: |