-
Notifications
You must be signed in to change notification settings - Fork 102
/
setup.py
57 lines (50 loc) · 1.57 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
import re
import setuptools
requirements = [
"sqlalchemy==1.4.31",
"python-decouple",
"python-dotenv",
"aiofiles",
"aiohttp",
"sqlalchemy-json",
"pytz",
]
with open("LionX/Version.py", "rt", encoding="utf8") as x:
version = re.search(r'__version__ = "(.*?)"', x.read()).group(1)
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
name = "LionX"
author = "TeamLionX"
author_email = "teamlionx786@gmail.com"
description = "A Secure and Powerful Python-Telethon Based Library For LionX Userbot."
license_ = "GNU AFFERO GENERAL PUBLIC LICENSE (v3)"
url = "https://github.com/TeamLionX/LionX"
project_urls = {
"Bug Tracker": "https://github.com/TeamLionX/LionX/issues",
"Documentation": "https://teamlionx.github.io/LionX/",
"Source Code": "https://github.com/TeamLionX/LionX",
}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]
setuptools.setup(
name=name,
version=version,
author=author,
author_email=author_email,
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
url=url,
project_urls=project_urls,
license=license_,
packages=setuptools.find_packages(),
install_requires=requirements,
classifiers=classifiers,
python_requires=">3.7, <3.11",
)