Skip to content

Commit c03218a

Browse files
committed
Show numpy version on startup
1 parent 3f4b0df commit c03218a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mathics/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import platform
66
import sympy
77
import mpmath
8+
import numpy
89

910
from mathics.version import __version__
1011
from mathics.core.expression import (
@@ -27,6 +28,7 @@
2728
"mathics": __version__,
2829
"sympy": sympy.__version__,
2930
"mpmath": mpmath.__version__,
31+
"numpy": numpy.__version__,
3032
"python": platform.python_implementation() + " " + sys.version.split("\n")[0],
3133
}
3234

@@ -40,7 +42,7 @@
4042

4143
version_string = """Mathics {mathics}
4244
on {python}
43-
using SymPy {sympy}, mpmath {mpmath}""".format(
45+
using SymPy {sympy}, mpmath {mpmath}, numpy {numpy}""".format(
4446
**version_info
4547
)
4648

0 commit comments

Comments
 (0)