# -*- coding: utf-8 -*-
#
-# Copyright (C) 2008-2022 EDF R&D
+# Copyright (C) 2008-2023 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
logging.info( "--------------------------------------------------" )
logging.info( "Library availability:" )
logging.info( "- Python.......: True" )
- logging.info( "- Numpy........: True" )
+ logging.info( "- Numpy........: "+str(PlatformInfo.has_numpy) )
logging.info( "- Scipy........: "+str(PlatformInfo.has_scipy) )
logging.info( "- Matplotlib...: "+str(PlatformInfo.has_matplotlib) )
- logging.info( "- Gnuplot......: "+str(PlatformInfo.has_scipy) )
+ logging.info( "- Gnuplot......: "+str(PlatformInfo.has_gnuplot) )
logging.info( "- Sphinx.......: "+str(PlatformInfo.has_sphinx) )
logging.info( "- Nlopt........: "+str(PlatformInfo.has_nlopt) )
logging.info( "Library versions:" )
logging.info( "- Python.......: "+p.getPythonVersion() )
logging.info( "- Numpy........: "+p.getNumpyVersion() )
logging.info( "- Scipy........: "+p.getScipyVersion() )
+ logging.info( "- Matplotlib...: "+p.getMatplotlibVersion() )
+ logging.info( "- Gnuplot......: "+p.getGnuplotVersion() )
+ logging.info( "- Sphinx.......: "+p.getSphinxVersion() )
+ logging.info( "- Nlopt........: "+p.getNloptVersion() )
logging.info( "" )
def setLogfile(self, filename=LOGFILE, filemode="w", level=logging.NOTSET):
return result
return wrapper
-
# ==============================================================================
if __name__ == "__main__":
print('\n AUTODIAGNOSTIC\n')