-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
83 lines (75 loc) · 1.96 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
from setuptools import setup, find_packages
info = {
"name": "amino.py.api",
"version": "0.4.7",
"github_page": "https://github.com/xXxCLOTIxXx/amino.py",
"download_link": "https://github.com/xXxCLOTIxXx/amino.py/archive/refs/heads/main.zip",
"license": "MIT",
"author": "Xsarz",
"author_email": "[email protected]",
"description": "Library for creating amino bots and scripts.",
"long_description": None,
"long_description_file": "README.md",
"long_description_content_type": "text/markdown",
"keywords": [
"aminoapps",
"aminoxz",
"amino",
"amino-bot",
"pymino",
"python-amino",
"amino.py",
"amino.api",
"narvii",
"api",
"python",
"python3",
"python3.x",
"xsarz",
"official",
"amino.py.api",
"amino.fix",
"amino.light",
"amino.ligt.py",
"AminoLightPy",
"medialab",
"aminolightpy",
],
"install_requires": [
"requests",
"aiohttp",
"aiofiles",
"websocket-client==1.3.1",
"websockets",
"ujson",
"json_minify"
]
}
if info.get("long_description"):
long_description=info.get("long_description")
else:
with open(info.get("long_description_file"), "r") as file:
long_description = file.read()
setup(
name = info.get("name"),
version = info.get("version"),
url = info.get("github_page"),
download_url = info.get("download_link"),
license = info.get("license"),
author = info.get("author"),
author_email = info.get("author_email"),
description = info.get("description"),
long_description = long_description,
long_description_content_type = info.get("long_description_content_type"),
keywords = info.get("keywords"),
install_requires = info.get("install_requires"),
packages = find_packages(),
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)