Skip to content

Commit

Permalink
Update setup and help
Browse files Browse the repository at this point in the history
Signed-off-by: wujiawei <wujiawei@xiaomi.com>
  • Loading branch information
wujiawei committed Aug 3, 2017
1 parent b7ff8e7 commit 44cde5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions douban/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def get_args():
description="""
A tiny tool to download douban resources
""")
parser.add_argument("url", help="start url of album or any other pages")
parser.add_argument('path', default='./douban', nargs='?', help='the path to store all resources') # 可选
parser.add_argument("url", help="start url of album or celebrity page")
parser.add_argument('path', default='./douban', nargs='?', help='the path to store all resources defaul is ./douban') # 可选
# parser.add_argument('-a', '--album', help='album id', action='store')
# parser.add_argument('-c', '--celebrity', help='celebrity id', action='store')
return parser.parse_args()
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
]

setup(
name="douban_dl",
name="douban-dl",
version="0.0.1",
description="douban downloader, include album, celebrity",
long_description="douban album downloader",
Expand All @@ -20,7 +20,7 @@
# not use scripts while use entry_points instead https://packaging.python.org/tutorials/distributing-packages/#scripts
entry_points={
'console_scripts': [
'douban_dl = douban.__main__:main',
'douban-dl = douban.__main__:main',
]},
keywords="douban downloader",
packages=find_packages(exclude=["tests"]),
Expand Down

0 comments on commit 44cde5f

Please sign in to comment.