- 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 shellmkdir example/
vim example/example.pydef example():
return "Hello World!"
if __name__ == __main__:
print(example())python example.pyHello World!
poetry config pypi-token.pypi <pypi-key>poetry publish --buildpip install examplefrom example.example import exampleHello World!
neat!!