@@ -167,18 +167,18 @@ def is_min_version(found, minversion):
167
167
# Define the display functions only if display_status is True.
168
168
if options ['display_status' ]:
169
169
def print_line (char = '=' ):
170
- print (char * 79 )
170
+ print (char * 80 )
171
171
172
172
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 ,
176
176
initial_indent = initial_indent ,
177
177
subsequent_indent = indent ))
178
178
179
179
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 ,
182
182
initial_indent = indent ,
183
183
subsequent_indent = indent ))
184
184
@@ -593,16 +593,6 @@ class Python(SetupPackage):
593
593
name = "python"
594
594
595
595
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 )
606
596
return sys .version
607
597
608
598
@@ -638,6 +628,14 @@ def get_package_data(self):
638
628
],
639
629
}
640
630
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
+
641
639
642
640
class SampleData (OptionalPackage ):
643
641
"""
@@ -1107,21 +1105,6 @@ def get_extension(self):
1107
1105
return ext
1108
1106
1109
1107
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
-
1125
1108
class BackendAgg (OptionalBackendPackage ):
1126
1109
name = "agg"
1127
1110
force = True
0 commit comments