Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 695 Bytes

DEV_README.md

File metadata and controls

23 lines (14 loc) · 695 Bytes

Local Development

Configure Test PyPI for Poetry

For publishing packages to Test PyPI using Poetry during development, it is recommended to use an environment variable for the Test PyPI token. This avoids issues with keychain access on macOS and is generally simpler for automation and scripting.

Setting Up Environment Variable for Test PyPI Token

  1. Export the Test PyPI API Token:

Export your Test PyPI token as an environment variable in your terminal session before running the publish command.

export POETRY_TEST_PYPI_API_TOKEN=<your_test_pypi_token>
  1. Run the local publish command:

In the project root folder.

./tests/build_test_pypi.sh