Do not invoke `setup.py` directly

- It is not recommended to invoke ``setup.py`` directly, instead opting for ``python -m build`` for the commands in this commit (see: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)
- Add newsfragment for #70
This commit is contained in:
fselmo
2022-11-21 17:27:18 -07:00
parent 3ff1c9cf5d
commit 7c85f95a4d
2 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,7 @@ clean-pyc:
find . -name '__pycache__' -exec rm -rf {} +
lint:
tox -elint
tox -e lint
lint-roll:
isort --recursive <MODULE_NAME> tests
@ -83,11 +83,11 @@ release: check-bump clean
git config commit.gpgSign true
bumpversion $(bump)
git push upstream && git push upstream --tags
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*
git config commit.gpgSign "$(CURRENT_SIGN_SETTING)"
dist: clean
python setup.py sdist bdist_wheel
python -m build
ls -l dist

View File

@ -0,0 +1 @@
Do not invoke ``setup.py`` directly. Minor cleanup and refactors in newsfragment ``README.md`` and newsfragment validation. Minot cleanup in ``Makefile``.