Show step of dependency installation

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-10 01:45:03 -04:00
parent bbf3ede2e6
commit 45ca7ea480

View File

@@ -269,9 +269,11 @@ class Dependency(object):
else:
self._install()
print(_('Complete.'))
sys.stdout.flush()
else:
self._install()
print(_('Complete.'))
sys.stdout.flush()
def _install(self):
raise NotImplementedError
@@ -404,8 +406,14 @@ class JavaScriptDependency(Dependency):
def _install(self, include_dependencies=False):
self.get_metadata()
print(_('Downloading... '), end='')
sys.stdout.flush()
self.download()
print(_('Verifying... '), end='')
sys.stdout.flush()
self.verify()
print(_('Extracting... '), end='')
sys.stdout.flush()
self.extract()
if include_dependencies: