flozz / cover-thumbnailer

Generates folder thumbnails for various file browser on Linux to display music album covers, preview of pictures which are in a folder and more.
https://blog.flozz.fr/2020/07/15/cover-thumbnailer-apres-plus-de-10-ans-cest-termine/
GNU General Public License v3.0
82 stars 19 forks source link

Simplify packaging and publishing process #22

Open Caellian opened 3 days ago

Caellian commented 3 days ago

Instead of handrolled install.sh I switched the project to Makefile for installation. There's no benefit besides it being ~more familiar and 2x shorted.

More importantly though, I added pyproject.toml which is now main source of metadata (e.g. version & name), and Makefile pulls this information and seds it into install/package files which removes like 5 tedious steps from releasing a new version.

Now you can do changes, change version in pyproject and run make publish.

This breaks interface packages rely on because they need to invoke make install instead of ./install.sh --install, but I don't think that's a very hard thing to update. You will need to notify them though (namely AUR which has git variant, others will notice).

Actual diff is +148 -305, rest is just autogenerated .gitignore.