-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
58 lines (49 loc) · 1.59 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- coding: utf-8 -*-
import setuptools
import baidutransfer
with open("README.md", "rb") as fp:
README = fp.read().decode()
with open("requirements.txt") as fp:
text = fp.read()
REQUIREMENTS = text.split("\n")
def find_packages():
packages = []
for pkg in setuptools.find_packages():
if not pkg.startswith("test"):
print(pkg)
packages.append(pkg)
return packages
setuptools.setup(
author="drunkdream",
author_email="[email protected]",
name="baidu-free-transfer",
license="MIT",
description="Baidu yunpan transfer tool.",
version=baidutransfer.VERSION,
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/drunkdream/baidu-free-transfer",
packages=find_packages(),
python_requires=">=3.7",
install_requires=REQUIREMENTS,
extras_require={},
classifiers=[
# Trove classifiers
# (https://pypi.python.org/pypi?%3Aaction=list_classifiers)
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Developers",
],
entry_points={
"console_scripts": [
"baidu-transfer = baidutransfer.__main__:main",
],
},
)