mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Update for optional dependencies
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
210a22f84f
commit
e4bd93af87
3 changed files with 5 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
# [OPTIONAL]
|
||||
# aria2 (alternative downloader)
|
||||
# curl (alternative downloader)
|
||||
# http (alternative downloader)
|
||||
# httpie (alternative downloader)
|
||||
# pygraphviz >= 1.3.1 (drawing dependencies diagram)
|
||||
# perl 5 language and graph-easy >= 0.75 (drawing dependencies ascii diagram)
|
||||
# python2-pythondialog >= 3.3.0 (Python interface to the UNIX dialog utility)
|
||||
|
|
|
@ -8,3 +8,5 @@ Optional dependencies:
|
|||
python2-pythondialog (for dialog box interface)
|
||||
pygraphviz (for drawing dependencies diagram)
|
||||
graph-easy (for drawing ascii dependencies diagram)
|
||||
aria2 (alternative downloader)
|
||||
httpie (alternative downloader)
|
||||
|
|
|
@ -33,7 +33,7 @@ from slpkg.__metadata__ import MetaData as _meta_
|
|||
|
||||
class Download(object):
|
||||
"""Downloader manager. Slpkg use wget by default but support
|
||||
curl, aria2 and http
|
||||
curl, aria2 and httpie
|
||||
"""
|
||||
def __init__(self, path, url, repo):
|
||||
self.path = path
|
||||
|
@ -48,7 +48,7 @@ class Download(object):
|
|||
|
||||
def start(self):
|
||||
"""Download files using wget or other downloader.
|
||||
Optional curl, aria2c and http
|
||||
Optional curl, aria2c and httpie
|
||||
"""
|
||||
dwn_count = 1
|
||||
self._directory_prefix()
|
||||
|
|
Loading…
Reference in a new issue