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.
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 andsed
s 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
.