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: