-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
60 lines (57 loc) · 2.25 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
from setuptools import setup, find_packages
import re
def version():
filename = "HorridAPI/__init__.py"
with open(filename) as f:
match = re.search(r"""^__version__ = ['"]([^'"]*)['"]""", f.read(), re.M)
if not match:
raise RuntimeError("{} doesn't contain __version__".format(filename))
version = match.groups()[0]
return version
with open("README.md", encoding="utf8") as readme:
long_desc = readme.read()
# Setting up
setup(
name="HorridAPI",
version=version(),
author="Horrid",
author_email="mishel@gmail.temb",
description="Python Wrapper For HorridAPI",
long_description_content_type="text/markdown",
long_description=long_desc,
packages=find_packages(),
license="MIT",
url="https://github.com/Mishel-07/HorridAPI",
download_url="https://github.com/Mishel-07/HorridAPI/blob/main/README.md",
install_requires=["requests"],
keywords=["python", "HorridAPI"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet",
"Topic :: Communications",
"Topic :: Communications :: Chat",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
project_urls={
"Tracker": "https://github.com/Mishel-07/HorridAPI/issues",
"Community": "https://t.me/XBOTSUPPORTS",
"Source": "https://github.com/Mishel-07/HorridAPI",
},
python_requires="~=3.7",
)