mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-07-07 01:03:35 +02: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:
@@ -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