Skip to content

Commit 3b4cd50

Browse files
committed
update HOWTOPUBLISH
1 parent 35ee0f6 commit 3b4cd50

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

HOWTOPUBLISH

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# update contributors and CHANGELOG in README
22
python -m pre_commit run -a # and then commit changes
33
tox -e py310-extra,py311-extra,py312-extra,py313-extra,py314-extra
4-
# tag version release
4+
# tag version release (vX.Y.Z)
5+
python -m pip install build twine
56
python -m build -s # this will update tabulate/version.py
67
python -m pip install . # install tabulate in the current venv
78
python -m pip install -r benchmark/requirements.txt
@@ -13,3 +14,4 @@ git push # wait for all CI builds to succeed
1314
git push --tags # if CI builds succeed
1415
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
1516
twine upload dist/*
17+
# use __token__ as username andPyPI API token as password (generate at pypi.org → Account settings → API tokens)

0 commit comments

Comments
 (0)