fparser icon indicating copy to clipboard operation
fparser copied to clipboard

API to get version string

Open MatthewHambley opened this issue 7 years ago • 0 comments

It would be handy to have a call or a package variable or something which held the version string for the instance of fparser in use.

This would allow depending tools to check that they had the correct version of fparser available.

We might even consider having an API version which bumps only when the API changes and a library version which goes with each release.

Part of this issue would be to agree on a format for the version string. I don't see a problem with the classic <major>.<minor>.<release>[-<tag>] where "tag" would be "SNAPSHOT" during development. i.e. at the head of trunk. It is normally not included for releases.

The biggest concern is how to ensure that this is changed with each release and is kept consistent with, for instance, the change log.

For reference https://www.python.org/dev/peps/pep-0396/

MatthewHambley avatar Jun 04 '18 07:06 MatthewHambley