Skip to content
Snippets Groups Projects
Verified Commit 1cf802b2 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

PIPELINE: modify setup.py for installation in the pipeline

parent f75c3827
No related branches found
No related tags found
2 merge requests!79Release 0.10.0,!75F http proxy
Pipeline #29973 failed
......@@ -97,6 +97,9 @@ def get_version_info():
if os.path.exists('.git'):
GIT_REVISION = git_version()
elif os.path.exists('caosdb_pylib_commit'):
with open('caosdb_pylib_commit', 'r') as f:
GIT_REVISION = f.read()
elif os.path.exists('src/caosdb/version.py'):
# must be a source distribution, use existing version file
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment