-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (53 loc) · 1.54 KB
/
setup.py
File metadata and controls
57 lines (53 loc) · 1.54 KB
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
import io
import os
from setuptools import find_packages, setup
this_directory = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
package = {}
with io.open(
os.path.join(this_directory, "cli115", "__version__.py"),
encoding="utf-8",
) as f:
exec(f.read(), package)
setup(
name=package["__title__"],
version=package["__version__"],
author=package["__author__"],
author_email=package["__author_email__"],
url=package["__url__"],
description=package["__description__"],
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(include=["cli115*"]),
python_requires=">=3.12",
install_requires=[
"p115client>=0.0.8",
"httpx",
"pathspec",
"tqdm",
],
entry_points={
"console_scripts": [
"115cli=cli115.cli:main",
],
},
extras_require={
"dev": [
"pytest",
"pytest-cov",
],
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
],
)