File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -1146,7 +1146,7 @@ def get_install_requires(self):
1146
1146
return [dateutil ]
1147
1147
1148
1148
1149
- class Tornado (SetupPackage ):
1149
+ class Tornado (OptionalPackage ):
1150
1150
name = "tornado"
1151
1151
1152
1152
def check (self ):
@@ -1160,9 +1160,6 @@ def check(self):
1160
1160
1161
1161
return "using tornado version %s" % tornado .version
1162
1162
1163
- def get_install_requires (self ):
1164
- return ['tornado' ]
1165
-
1166
1163
1167
1164
class Pyparsing (SetupPackage ):
1168
1165
name = "pyparsing"
@@ -1879,14 +1876,14 @@ def check_requirements(self):
1879
1876
try :
1880
1877
# Try in-process
1881
1878
msg = self .callback (self )
1882
-
1879
+
1883
1880
except RuntimeError :
1884
1881
raise CheckFailed ("Could not import: are PyQt4 & PyQt5 both installed?" )
1885
-
1882
+
1886
1883
except :
1887
1884
# Raise any other exceptions
1888
1885
raise
1889
-
1886
+
1890
1887
else :
1891
1888
# Multiprocessing OK
1892
1889
try :
@@ -1897,8 +1894,8 @@ def check_requirements(self):
1897
1894
finally :
1898
1895
# Tidy up multiprocessing
1899
1896
p .close ()
1900
- p .join ()
1901
-
1897
+ p .join ()
1898
+
1902
1899
return msg
1903
1900
1904
1901
You can’t perform that action at this time.
0 commit comments