After installing a pre-compiled package of IFCOpenShell-python (according to the documentation available at freecad.org), I was able to do a IFC pre-flight checks.
However I get an error because the version returned by ifcopenshell.version does not have a standard format (x.y.z).
It is in fact appended with the git commit id to read something like this v0.7.0-f0e03c79d'.
This PR uses the standard python version package to read the version and in case something a git commit is detected it will try to remove it.
After installing a pre-compiled package of IFCOpenShell-python (according to the documentation available at freecad.org), I was able to do a IFC pre-flight checks.
However I get an error because the version returned by
ifcopenshell.version
does not have a standard format (x.y.z). It is in fact appended with the git commit id to read something like thisv0.7.0-f0e03c79d'
.This PR uses the standard python version package to read the version and in case something a git commit is detected it will try to remove it.
Here are the information about my system: