@@ -167,18 +167,18 @@ def is_min_version(found, minversion):
167167# Define the display functions only if display_status is True.
168168if options ['display_status' ]:
169169 def print_line (char = '=' ):
170- print (char * 79 )
170+ print (char * 80 )
171171
172172 def print_status (package , status ):
173- initial_indent = "%18s : " % package
174- indent = ' ' * 24
175- print (textwrap .fill (str (status ), width = 79 ,
173+ initial_indent = "%12s : " % package
174+ indent = ' ' * 18
175+ print (textwrap .fill (str (status ), width = 80 ,
176176 initial_indent = initial_indent ,
177177 subsequent_indent = indent ))
178178
179179 def print_message (message ):
180- indent = ' ' * 24 + "* "
181- print (textwrap .fill (str (message ), width = 79 ,
180+ indent = ' ' * 18 + "* "
181+ print (textwrap .fill (str (message ), width = 80 ,
182182 initial_indent = indent ,
183183 subsequent_indent = indent ))
184184
@@ -593,16 +593,6 @@ class Python(SetupPackage):
593593 name = "python"
594594
595595 def check (self ):
596- if sys .version_info < (3 , 5 ):
597- error = """
598- Matplotlib 3.0+ does not support Python 2.x, 3.0, 3.1, 3.2, 3.3, or 3.4.
599- Beginning with Matplotlib 3.0, Python 3.5 and above is required.
600-
601- This may be due to an out of date pip.
602-
603- Make sure you have pip >= 9.0.1.
604- """
605- raise CheckFailed (error )
606596 return sys .version
607597
608598
@@ -638,6 +628,14 @@ def get_package_data(self):
638628 ],
639629 }
640630
631+ def get_install_requires (self ):
632+ return [
633+ "cycler>=0.10" ,
634+ "kiwisolver>=1.0.1" ,
635+ "pyparsing>=2.0.1,!=2.0.4,!=2.1.2,!=2.1.6" ,
636+ "python-dateutil>=2.1" ,
637+ ]
638+
641639
642640class SampleData (OptionalPackage ):
643641 """
@@ -1107,21 +1105,6 @@ def get_extension(self):
11071105 return ext
11081106
11091107
1110- class InstallRequires (SetupPackage ):
1111- name = "install_requires"
1112-
1113- def check (self ):
1114- return "handled by setuptools"
1115-
1116- def get_install_requires (self ):
1117- return [
1118- "cycler>=0.10" ,
1119- "kiwisolver>=1.0.1" ,
1120- "pyparsing>=2.0.1,!=2.0.4,!=2.1.2,!=2.1.6" ,
1121- "python-dateutil>=2.1" ,
1122- ]
1123-
1124-
11251108class BackendAgg (OptionalBackendPackage ):
11261109 name = "agg"
11271110 force = True
0 commit comments