This makes build_pot.py extract the version string from MCprep_addon/__init__.py and use that when constructing the POT file. This way, we don't have to update the action manually for every version update.
The string parsing is a bit unwieldy, but hopefully the comment I've added should clarify as to what it's doing.
This makes
build_pot.py
extract the version string fromMCprep_addon/__init__.py
and use that when constructing the POT file. This way, we don't have to update the action manually for every version update.The string parsing is a bit unwieldy, but hopefully the comment I've added should clarify as to what it's doing.
On an unrelated note, during development of this, https://github.com/Moo-Ack-Productions/bpy-build/issues/14 was discovered. I think I know why this is occurring, so I'll get a BpyBuild bug fix out soon enough.