This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
57 lines (51 loc) · 2.04 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 ast
import re
import setuptools
from pathlib import Path
with open("requirements.txt") as stream:
raw = stream.read().splitlines()
requirements = [x for x in raw if not x.startswith("git+")]
dependencies = [x for x in raw if x.startswith("git+")]
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf8")
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('discord/ext/ipc/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode('utf-8')).group(1)))
setuptools.setup(
author="DaPandaOfficial",
python_requires=">=3.8.0",
license="MIT License",
author_email="[email protected]",
long_description_content_type="text/markdown",
url="https://github.com/MiroslavRosenov/better-ipc",
description="A high-performance inter-process communication library designed to work with the latest version of discord.py",
packages=[
"discord.ext.ipc"
],
project_urls={
"Source": "https://github.com/MiroslavRosenov/better-ipc",
"Issue Tracker": "https://github.com/MiroslavRosenov/better-ipc/issues",
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Communications",
"Topic :: Internet",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords=["better-ipc", "ipc", "python", "discord.py"],
long_description=long_description,
install_requires=requirements,
dependencies=dependencies,
name="better-ipc",
version=version,
)