New VERSION file and make BBBIM and docs based on version string

This commit is contained in:
Dion Moult
2024-06-11 00:09:20 +10:00
parent 8067d0c4f6
commit 293cee414a
6 changed files with 25 additions and 10 deletions
+4 -2
View File
@@ -36,11 +36,13 @@ sys.path.insert(0, os.path.abspath('..'))
# -- Project information -----------------------------------------------------
project = "IfcOpenShell"
copyright = "2011-2024, IfcOpenShell Contributors"
copyright = "2011-2024 IfcOpenShell Contributors"
author = "IfcOpenShell Contributors"
# The full version, including alpha/beta/rc tags
release = "0.7.0"
cwd = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(cwd, "..", "..", "..", "VERSION"), "r") as f:
release = f.read().strip()
# -- General configuration ---------------------------------------------------