Notes tagged with "Python"
Poetry Uploads
Uploading Packages to PyPi With Poetry
Setting a pypi repository token:
-
create a token on pypi. Create a specific token for each package.
-
copy the token and put it somewhere safe.
-
Save your token with poetry. Poetry will try to use keyring to store the token:
poetry config pypi-token.dover-test
poetry config pyi-token.pypi my-token
this is what poetry does
-
fetches the repo url from your local config file (On Linux Mint this is located here: ~/.config/pypoetry/config.toml. )