From 108a0d827ace652048ad52d5d00ca3e1c2faa3f0 Mon Sep 17 00:00:00 2001 From: Dylan McReynolds Date: Tue, 31 Oct 2023 13:55:44 -0700 Subject: [PATCH] update __init__.py for version --- .github/workflows/testing.yml | 1 + continuous_integration/scripts/install.sh | 4 +--- pyscicat/__init__.py | 5 +---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 5ac3e4a..b9a8056 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -48,5 +48,6 @@ jobs: shell: bash -l {0} run: | set -vxeuo pipefail + ls pyscicat coverage run -m pytest --ignore tests_integration -v coverage report diff --git a/continuous_integration/scripts/install.sh b/continuous_integration/scripts/install.sh index 6376903..1434414 100644 --- a/continuous_integration/scripts/install.sh +++ b/continuous_integration/scripts/install.sh @@ -9,6 +9,4 @@ python -m pip install --upgrade pip setuptools wheel numpy # in the published documentation. git fetch --tags --force python -m pip install '.[hdf5]' -python -m pip list - -ls pyscicat \ No newline at end of file +python -m pip list \ No newline at end of file diff --git a/pyscicat/__init__.py b/pyscicat/__init__.py index 80edaf0..95a5c66 100644 --- a/pyscicat/__init__.py +++ b/pyscicat/__init__.py @@ -1,4 +1 @@ -from ._version import get_versions - -__version__ = get_versions()["version"] -del get_versions +from ._version import __version__, __version_tuple__