-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3441d5
commit 328bb23
Showing
2 changed files
with
18 additions
and
1 deletion.
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
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 +1,18 @@ | ||
from importlib import metadata | ||
from platform import python_version | ||
|
||
__version__ = "6.6.0.dev0" | ||
|
||
|
||
def show_versions() -> None: | ||
"""Print the version of dependencies.""" | ||
msg = ( | ||
f"TimML version : {__version__}\n\n" | ||
f"Python version : {python_version()}\n" | ||
f"Numpy version : {metadata.version('numpy')}\n" | ||
f"Numba version : {metadata.version('numba')}\n" | ||
f"Scipy version : {metadata.version('scipy')}\n" | ||
f"Pandas version : {metadata.version('pandas')}\n" | ||
f"Matplotlib version : {metadata.version('matplotlib')}" | ||
) | ||
print(msg) |