Skip to content

Commit c50feac

Browse files
committed
Add versioneer
This will let us tag versions and array_api_tests.__version__ will automatically be set to it. This also supports setup.py, but we don't have one right now (I'm not sure if it would be useful).
1 parent bcce8e6 commit c50feac

File tree

6 files changed

+2772
-0
lines changed

6 files changed

+2772
-0
lines changed

.gitattributes

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

MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include versioneer.py
2+
include array_api_tests/_version.py}
3+
include array_api_tests/_version.py

array_api_tests/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ def floats(*a, **kw):
2222

2323

2424
st.floats = floats
25+
26+
from . import _version
27+
__version__ = _version.get_versions()['version']

0 commit comments

Comments
 (0)