提交 7be23876 编写于 作者: W wizardforcel

修改描述

上级 e0927dfa
language: python
python: 3.6
install:
- 'pip install -r requirements.txt'
script:
- python -m BiliDriveEx -v
deploy:
- provider: pypi
user: __token__
password: $PYPI_TOKEN
distributions: 'sdist bdist_wheel'
skip_existing: true
#!/usr/bin/env python3.7
# -*- coding: utf-8 -*-
"""CDNDrive 哔哩哔哩云 Ex
"""CDNDrive
https://github.com/apachecn/CDNDrive"""
__author__ = "ApacheCN"
......
......@@ -277,17 +277,17 @@ def interact_mode(parser, subparsers):
def main():
signal.signal(signal.SIGINT, lambda signum, frame: os.kill(os.getpid(), 9))
parser = argparse.ArgumentParser(prog="CDNDrive", description="Make Bilibili A Great Cloud Storage!", formatter_class=argparse.RawDescriptionHelpFormatter)
parser = argparse.ArgumentParser(prog="CDNDrive", description="Make Picbeds Great Cloud Storages!", formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument("-v", "--version", action="version", version=f"CDNDrive version: {__version__}")
subparsers = parser.add_subparsers()
login_parser = subparsers.add_parser("login", help="log in to bilibili")
login_parser = subparsers.add_parser("login", help="log in to the site")
login_parser.add_argument("site", help="site", choices=drivers.keys())
login_parser.add_argument("username", help="username")
login_parser.add_argument("password", help="password")
login_parser.set_defaults(func=login_handle)
cookies_parser = subparsers.add_parser("cookies", help="set cookies to bilibili")
cookies_parser = subparsers.add_parser("cookies", help="set cookies to the site")
cookies_parser.add_argument("site", help="site", choices=drivers.keys())
cookies_parser.add_argument("cookies", help="cookies")
cookies_parser.set_defaults(func=cookies_handle)
......
......@@ -33,20 +33,20 @@ setuptools.setup(
"Topic :: Internet :: WWW/HTTP",
"Topic :: Utilities",
],
description="☁️ 哔哩哔哩云 Ex,支持任意文件的全速上传与下载",
description="☁️ CDNDrive,支持任意文件的全速上传与下载",
long_description=long_description,
long_description_content_type="text/markdown",
keywords=[
"bilibili",
"cdn",
"cloud",
"picbed",
"disk",
"drive",
"storage",
"pan",
"yun",
"B站",
"哔哩哔哩",
"网盘",
"图床",
"云",
],
install_requires=install_requires,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册