- Sinup at https://pypi.org/
- If you already have your codebase build with poetry. Skip to config pypi poetry
- To get started with a new project start here:
cd example/
poetry init
poetry add ...
poetry install
poetry shell
mkdir example/
vim example/example.py
def example():
return "Hello World!"
if __name__ == __main__:
print(example())
python example.py
Hello World!
poetry config pypi-token.pypi <pypi-key>
poetry publish --build
pip install example
from example.example import example
Hello World!
neat!!