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

PIPELINE: modify setup.py for installation in the pipeline

parent 1cf802b2
No related branches found
No related tags found
2 merge requests!79Release 0.10.0,!75F http proxy
Pipeline #30103 passed
...@@ -99,7 +99,7 @@ def get_version_info(): ...@@ -99,7 +99,7 @@ def get_version_info():
GIT_REVISION = git_version() GIT_REVISION = git_version()
elif os.path.exists('caosdb_pylib_commit'): elif os.path.exists('caosdb_pylib_commit'):
with open('caosdb_pylib_commit', 'r') as f: with open('caosdb_pylib_commit', 'r') as f:
GIT_REVISION = f.read() GIT_REVISION = f.read().strip()
elif os.path.exists('src/caosdb/version.py'): elif os.path.exists('src/caosdb/version.py'):
# must be a source distribution, use existing version file # must be a source distribution, use existing version file
try: 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