mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-30 02:51:29 +01:00
Fix version (#319)
- install VERSION file and copy to build - fix lookup for VERSION file in case of error - update documentation for installing python bindings
This commit is contained in:
1 parent
282debcc94
commit
8e69b498e5
3 files changed
+11
-2
No files matched your search
@@ -5,4 +5,4 @@ from pathlib import Path
|
||||
try:
|
||||
__version__ = version('aare')
|
||||
except PackageNotFoundError:
|
||||
__version__ = Path(__file__).parents[2].joinpath('VERSION').read_text().strip()
|
||||
__version__ = Path(__file__).parent.joinpath('VERSION').read_text().strip()
|
||||
Reference in new issue
Block a user