mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
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:
4
Makefile
4
Makefile
@ -83,11 +83,11 @@ release: check-bump clean
|
|||||||
git config commit.gpgSign true
|
git config commit.gpgSign true
|
||||||
bumpversion $(bump)
|
bumpversion $(bump)
|
||||||
git push upstream && git push upstream --tags
|
git push upstream && git push upstream --tags
|
||||||
python setup.py sdist bdist_wheel
|
python -m build
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
git config commit.gpgSign "$(CURRENT_SIGN_SETTING)"
|
git config commit.gpgSign "$(CURRENT_SIGN_SETTING)"
|
||||||
|
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
python setup.py sdist bdist_wheel
|
python -m build
|
||||||
ls -l dist
|
ls -l dist
|
||||||
|
|||||||
1
newsfragments/70.internal.rst
Normal file
1
newsfragments/70.internal.rst
Normal 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``.
|
||||||
Reference in New Issue
Block a user