It would be great to be able to retrieve the version of FANS independent of the installation method and packaging.
Something like fans --version would be great. We would be able to check this in the aiida-fans-plugin, to make sure the input schema is the correct one. One is able to retrieve the versio nof the conda-package for example. But if someone build from source and symlinks the executable, this does not work.
According to @sanathkeshav, the question is how to retrieve the version from the source code, as it is currently encoded here
It would be great to be able to retrieve the version of
FANSindependent of the installation method and packaging.Something like
fans --versionwould be great. We would be able to check this in theaiida-fans-plugin, to make sure the input schema is the correct one. One is able to retrieve the versio nof the conda-package for example. But if someone build from source and symlinks the executable, this does not work.According to @sanathkeshav, the question is how to retrieve the version from the source code, as it is currently encoded here