Skip to content
Snippets Groups Projects
Commit be9e81b4 authored by Christoph Groth's avatar Christoph Groth
Browse files

fix version extraction from git when symlinks are used

parent aa7b064d
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ import os
__all__ = ['version']
distr_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
distr_root = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
# When changing this function, remember to also change its twin in ../setup.py.
def get_version_from_git():
......
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