mirror of
https://github.com/fjosw/pyerrors.git
synced 2026-08-04 19:41:17 +02:00
feat: print_config moved to misc.
This commit is contained in:
parent
8ed5ce9569
commit
0044f90315
3 changed files with 20 additions and 22 deletions
|
|
@ -1,21 +1 @@
|
|||
import platform
|
||||
import numpy as np
|
||||
import scipy
|
||||
import matplotlib
|
||||
import pandas as pd
|
||||
|
||||
|
||||
__version__ = "2.7.0-dev"
|
||||
|
||||
|
||||
def print_config():
|
||||
"""Print information about version of python, pyerrors and dependencies."""
|
||||
config = {"python": platform.python_version(),
|
||||
"pyerrors": __version__,
|
||||
"numpy": np.__version__,
|
||||
"scipy": scipy.__version__,
|
||||
"matplotlib": matplotlib.__version__,
|
||||
"pandas": pd.__version__}
|
||||
|
||||
for key, value in config.items():
|
||||
print(f"{key : <10}\t {value}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue