Skip to content

Commit 52e51ba

Browse files
committed
Add versioneer
1 parent 2e06c4e commit 52e51ba

File tree

6 files changed

+2980
-5
lines changed

6 files changed

+2980
-5
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
array_api_strict/_version.py export-subst

array_api_strict/__init__.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@
115115
116116
"""
117117

118-
__version__ = '1.0'
119-
120118
__array_api_version__ = "2022.12"
121119

122120
__all__ = ["__array_api_version__"]
@@ -384,3 +382,7 @@
384382
from ._utility_functions import all, any
385383

386384
__all__ += ["all", "any"]
385+
386+
from . import _version
387+
__version__ = _version.get_versions()['version']
388+
del _version

0 commit comments

Comments
 (0)