From b0a3dac6904070f4c40795667645416257ce54c6 Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Sat, 16 Dec 2023 23:25:44 +0100 Subject: [PATCH] expand upload instructions --- RELEASE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index e13cd19..f9ec464 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -35,6 +35,7 @@ python setup.py sdist bdist_wheel This creates the file `dist/qsymm-<version>.tar.gz`. It is a good idea to unpack it and check that the tests run: ``` +twine check dist/* tar xzf dist/qsymm*.tar.gz cd qsymm-* py.test . @@ -63,6 +64,10 @@ git push origin v<version> v<version+1>-dev ``` twine upload dist/* ``` +for example if you are using `pass` to store the PyPI token and fish shell, use +``` +env TWINE_PASSWORD=(pass pypi_qsymm_token) twine upload dist/* --username=__token__ +``` ### Create conda-forge package -- GitLab