setup.py 1.8 KB
Newer Older
H
Hsury 已提交
1 2 3 4
#!/usr/bin/env python3.7
# -*- coding: utf-8 -*-

import setuptools
W
credit  
wizardforcel 已提交
5
import BiliDriveEx
H
Hsury 已提交
6 7 8 9 10 11 12 13

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

with open("requirements.txt", "r", encoding="utf-8") as fh:
    install_requires = fh.read().splitlines()

setuptools.setup(
W
credit  
wizardforcel 已提交
14 15 16 17 18
    name="BiliDriveEx",
    version=BiliDriveEx.__version__,
    url="https://github.com/apachecn/BiliDriveEx",
    author=BiliDriveEx.__author__,
    author_email=BiliDriveEx.__email__,
H
Hsury 已提交
19 20 21 22 23
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "Intended Audience :: End Users/Desktop",
飞龙 已提交
24
        "License :: OSI Approved :: SATA License",
H
Hsury 已提交
25 26 27
        "Natural Language :: Chinese (Simplified)",
        "Natural Language :: English",
        "Operating System :: OS Independent",
W
wizardforcel 已提交
28 29 30
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.6",
H
Hsury 已提交
31 32 33 34 35
        "Programming Language :: Python :: 3.7",
        "Topic :: Communications :: File Sharing",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Utilities",
    ],
W
credit  
wizardforcel 已提交
36
    description="☁️ 哔哩哔哩云 Ex,支持任意文件的全速上传与下载",
H
Hsury 已提交
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
    long_description=long_description,
    long_description_content_type="text/markdown",
    keywords=[
        "bilibili",
        "cloud",
        "disk",
        "drive",
        "storage",
        "pan",
        "yun",
        "B站",
        "哔哩哔哩",
        "网盘",
        "云",
    ],
    install_requires=install_requires,
    python_requires=">=3.6",
    entry_points={
        'console_scripts': [
W
wizardforcel 已提交
56
            "BiliDriveEx=BiliDriveEx.__main__:main",
W
credit  
wizardforcel 已提交
57
            "bdex=BiliDriveEx.__main__:main",
H
Hsury 已提交
58 59 60 61
        ],
    },
    packages=setuptools.find_packages(),
)