hugovk / norwegianblue

CLI to show end-of-life dates for a number of products.
https://endoflife.date
MIT License
73 stars 4 forks source link

:bulb: Switching Build to poetry :grey_question: #158

Closed adriens closed 1 year ago

hugovk commented 1 year ago

Why?

adriens commented 1 year ago

Why?

Why not ;-p

More seriously because it may be easier to maintain and produce wheel and other cool stuf without any effort.

It was just an idea. I gave it a try (as a Python noob) and could build/release package very easily.

hugovk commented 1 year ago

Thanks for the suggestion!

Hatchling is also easy to maintain, and I have automation to:

For a long time there was really only option for Python (setuptools), but now things have improved and there's lots of choices (if you don't have C/C++ extensions). That means choosing which to use is the difficult thing :) Many are excellent, so it doesn't really matter which you use. I like hatchling because it's following standards, the maintainer is very helpful, and because of the hatch_vcs plugin.

adriens commented 1 year ago

I had never heard of pypa/hatch : thanks a lot for the tip :pray:

hugovk commented 1 year ago

See also https://packaging.python.org/en/latest/tutorials/packaging-projects/ and https://www.pyopensci.org/python-package-guide/package-structure-code/intro.html for some more options.

adriens commented 1 year ago

:ok_hand: