forked from Ext-Creators/discord-ext-ipc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (41 loc) · 1.64 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
from setuptools import setup
import re
with open("requirements.txt") as f:
requirements = f.read().splitlines()
version = ""
with open("discord/ext/ipc/__init__.py") as f:
version = re.search(r"^__version__\s*=\s*[\'\"]([^\'\"]*)[\'\"]", f.read(), re.MULTILINE).group(1)
with open("README.rst", "r") as f:
readme = f.read()
setup(
name="discord-ext-ipc",
author="Ext-Creators",
python_requires=">=3.5.3",
url="https://github.com/Ext-Creators/discord-ext-ipc",
version=version,
packages=["discord.ext.ipc"],
license="Apache Software License",
description="An IPC extension allowing for the communication between a discord.py bot and an asynchronous web-framework (i.e. Quart or aiohttp.web)",
long_description_content_type="text/x-rst",
long_description=readme,
include_package_data=True,
install_requires=requirements,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
)