modm-io/lbuild

Version number

colombojrj opened this issue · 4 comments

Hi. This is a great and I have used it a lot at work. Thank you very much.

My question is: at github repository, lbuild does not have any version (or tag). However, PyPi tells me lbuild is in 1.21.7. I am writing a Gentoo ebuild script and it would very handy to know if lbuild has versions or not.

Sorry if this question was asked before or if it is dumb.

rleh commented

The lbuild version is (en)coded in lbuild/main.py:25 and gets incremented manually with every changeset.

Thanks for the quick answer. I managed to write a simple ebuild for gentoo users. If it helps someone, here is the link: https://gitlab.com/colombojrj/gentoo-overlay/-/blob/main/dev-python/lbuild/lbuild-1.21.7.ebuild?ref_type=heads

Out of curiosity, what do you use lbuild for at work?

I am just a teacher. I use modm with the students in my classes (electrical machines, power inverters, etc).