File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 115115 raise ImportError ("matplotlib requires pyparsing" )
116116else :
117117 if sys .version_info [0 ] >= 3 :
118- if [int (x ) for x in pyparsing .__version__ .split ('.' )] <= ( 1 , 5 , 6 ) :
118+ if [int (x ) for x in pyparsing .__version__ .split ('.' )] <= [ 1 , 5 , 6 ] :
119119 raise ImportError (
120120 "matplotlib requires pyparsing > 1.5.6 on Python 3.x" )
121121
Original file line number Diff line number Diff line change @@ -836,6 +836,11 @@ def check(self):
836836 "support. pip/easy_install may attempt to install it "
837837 "after matplotlib." )
838838
839+ if sys .version_info [0 ] >= 3 :
840+ if [int (x ) for x in pyparsing .__version__ .split ('.' )] <= [1 , 5 , 6 ]:
841+ return (
842+ "matplotlib requires pyparsing > 1.5.6 on Python 3.x" )
843+
839844 return "using pyparsing version %s" % pyparsing .__version__
840845
841846 def get_install_requires (self ):
You can’t perform that action at this time.
0 commit comments