We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95a8b76 + 4410d01 commit cbf51cfCopy full SHA for cbf51cf
gallery/_version.py
@@ -1,6 +1,8 @@
1
from os import environ as env
2
+from setuptools.config.setupcfg import read_configuration
3
-__version__ = "2.2.0"
4
+config = read_configuration('setup.cfg')
5
+__version__ = config["metadata"]["version"]
6
7
BUILD_REFERENCE = env.get("OPENSHIFT_BUILD_REFERENCE")
8
COMMIT_HASH = env.get("OPENSHIFT_BUILD_COMMIT")
0 commit comments