Skip to content

Commit

Permalink
adding to Pipy
Browse files Browse the repository at this point in the history
  • Loading branch information
d6o committed Jan 25, 2016
1 parent 7895dc7 commit 62856f4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

The MIT License (MIT)

Copyright (c) 2016 Diego Siqueira
Expand Down
6 changes: 6 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# file GENERATED by distutils, do NOT edit
setup.cfg
setup.py
mdownload/__init__.py
mdownload/downloadthread.py
mdownload/mdownload.py
2 changes: 1 addition & 1 deletion mdownload/mdownload.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def mdownload(urlList, workers = 5, folderPath = 'downloads'):

queue.join()

def main(argv):
def main(argv=sys.argv[0]):
description = "It is a small library to multi-threaded downloads."
description += "This means that it can generate a queue and download several files simultaneously"
parser = argparse.ArgumentParser(description = description)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
setup(
name = 'mdownload',
packages = ['mdownload'], # this must be the same as the name above
version = '0.2',
version = '0.3',
description = 'It is a small library to multi-threaded downloads.',
author = 'Diego Siqueira',
author_email = '[email protected]',
url = 'https://github.com/DiSiqueira/mdownload', # use the URL to the github repo
download_url = 'https://github.com/DiSiqueira/mdownload/tarball/0.2', # I'll explain this in a second
download_url = 'https://github.com/DiSiqueira/mdownload/tarball/0.3', # I'll explain this in a second
keywords = ['download', 'thread', 'speed', 'resume', 'multi', 'simple'], # arbitrary keywords
classifiers = [],
scripts=["mdownload/mdownload.py"],
Expand Down

0 comments on commit 62856f4

Please sign in to comment.