From e7ad612a2e3a355876b4c4957a2920c20bb60808 Mon Sep 17 00:00:00 2001 From: Doug Branton Date: Wed, 29 Nov 2023 11:53:01 -0800 Subject: [PATCH 1/2] add version file to init --- src/tape/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tape/__init__.py b/src/tape/__init__.py index 3d55491c..ad639c70 100644 --- a/src/tape/__init__.py +++ b/src/tape/__init__.py @@ -2,3 +2,4 @@ from .ensemble import * # noqa from .timeseries import * # noqa from .ensemble_readers import * # noqa +from ._version import __version__ # noqa From 5984bdd712d405e8214136aabbb0c7d4f3d42451 Mon Sep 17 00:00:00 2001 From: Doug Branton Date: Wed, 29 Nov 2023 11:58:35 -0800 Subject: [PATCH 2/2] add small test --- tests/tape_tests/test_packaging.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/tape_tests/test_packaging.py diff --git a/tests/tape_tests/test_packaging.py b/tests/tape_tests/test_packaging.py new file mode 100644 index 00000000..ef36cc82 --- /dev/null +++ b/tests/tape_tests/test_packaging.py @@ -0,0 +1,6 @@ +import tape + + +def test_version(): + """Check to see that the version property returns something""" + assert tape.__version__ is not None