mailr22558 - /trunk/dep_check.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 27, 2014 - 10:29:
Author: bugman
Date: Thu Mar 27 10:29:18 2014
New Revision: 22558

URL: http://svn.gna.org/viewcvs/relax?rev=22558&view=rev
Log:
Added matplotlib detection to the dep_check module.

This follows step 1 from the planning document at
http://thread.gmane.org/gmane.science.nmr.relax.devel/5278.


Modified:
    trunk/dep_check.py

Modified: trunk/dep_check.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/dep_check.py?rev=22558&r1=22557&r2=22558&view=diff
==============================================================================
--- trunk/dep_check.py  (original)
+++ trunk/dep_check.py  Thu Mar 27 10:29:18 2014
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2008-2013 Edward d'Auvergne                                  
 #
+# Copyright (C) 2008-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -85,6 +85,13 @@
     readline_module = True
 except ImportError:
     readline_module = False
+
+# matplotlib module.
+try:
+    import matplotlib
+    matplotlib_module = True
+except ImportError:
+    matplotlib_module = False
 
 # runpy module.
 try:




Related Messages


Powered by MHonArc, Updated Thu Mar 27 10:40:02 2014