mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-06-04 19:58:41 +02:00
Merge branch 'main' into dev/pixel-hist
This commit is contained in:
@@ -34,6 +34,7 @@ target_include_directories(
|
||||
# List of python files to be copied to the build directory
|
||||
set(PYTHON_FILES
|
||||
aare/__init__.py
|
||||
aare/_version.py
|
||||
aare/CtbRawFile.py
|
||||
aare/ClusterFinder.py
|
||||
aare/ClusterVector.py
|
||||
|
||||
@@ -13,6 +13,7 @@ from ._aare import corner
|
||||
|
||||
# from ._aare import ClusterFinderMT, ClusterCollector, ClusterFileSink, ClusterVector_i
|
||||
|
||||
from ._version import __version__
|
||||
from .ClusterFinder import ClusterFinder, ClusterCollector, ClusterFinderMT, ClusterFileSink, ClusterFile
|
||||
from .ClusterVector import ClusterVector
|
||||
from .Cluster import Cluster
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# This file is used to get the version of the package from the VERSION file
|
||||
from importlib.metadata import PackageNotFoundError, version
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
__version__ = version('aare')
|
||||
except PackageNotFoundError:
|
||||
__version__ = Path(__file__).parents[2].joinpath('VERSION').read_text().strip()
|
||||
Reference in New Issue
Block a user