-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use datajoint/_version.py written by setuptools_scm
- Loading branch information
Showing
4 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ jupyter_custom.js | |
.eggs | ||
*.code-workspace | ||
docs/site | ||
datajoint/_version.py | ||
|
||
|
||
!.vscode/settings.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
__version__ = "0.14.3" | ||
try: | ||
# Use datajoint/_version.py written by setuptools_scm if it exists | ||
# This module is not tracked in VCS and defines a __version_tuple__ like | ||
# (0, 14, 3, 'dev224', 'g0812fe17.d20240919') | ||
from ._version import __version_tuple__ as version_tuple | ||
except ImportError: | ||
version_tuple = (0, 14, 3) | ||
|
||
__version__ = ".".join(str(x) for x in version_tuple[:3]) | ||
|
||
assert len(__version__) <= 10 # The log table limits version to the 10 characters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters