Re:How to make a Python package in 2021
by say_it_as_it_is on Thursday April 08, 2021 @06:06AM
(#26736985)
Where is there a comprehensive poetry packaging tutorial?
Re:How to make a Python package in 2021
by BerislavLopac on Thursday April 08, 2021 @11:30AM
(#26740045)
Right here:
poetry build -f wheel
poetry publish
You asked for packaging, and that is pretty much it. Of course, setting up a project and its dependencies take a bit more work; the basic intro for that is here: https://python-poetry.org/docs/basic-usage/
Re:How to make a Python package in 2021
by say_it_as_it_is on Sunday April 11, 2021 @01:30PM
(#26771961)
That is fantastic.
Finally, tools like Poetry [2] offer a whole set of functionalities in one place (dependency management, virtual environments, publishing), which means that they need fewer "extra tools" than just setuptools.
[0] https://www.python.org/dev/peps/pep-0518/
[1] https://setuptools.readthedocs.io/en/latest/build_meta.html
[2] https://python-poetry.org/