forked from phenom4n4n/TagScript
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (46 loc) · 1.48 KB
/
setup.py
File metadata and controls
52 lines (46 loc) · 1.48 KB
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
import re
from setuptools import setup
requirements = ["discord.py>=2.0.0", "pyparsing>=3.0.9"]
version = ""
with open("bTagScript/__init__.py", "r", encoding="utf8") as file:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', file.read(), re.MULTILINE
).group(1)
readme = ""
with open("README.md", "r", encoding="utf8") as file:
readme = file.read()
packages = [
"bTagScript",
"bTagScript.adapter",
"bTagScript.block",
"bTagScript.interface",
"bTagScript.block.discord_blocks",
"bTagScript.block.util_blocks",
]
setup(
name="bTagScript",
version=version,
author="Leg3ndary",
author_email="bleg3ndary@gmail.com",
maintainer="Leg3ndary",
maintainer_email="bleg3ndary@gmail.com",
url="https://github.com/Leg3ndary/bTagScript",
project_urls={
"Documentation": "https://btagscript.readthedocs.io/",
},
description="An easy drop in user-provided Templating system.",
long_description=readme,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: Freely Distributable",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
],
keywords=["tagscript"],
license="Creative Commons Attribution 4.0 International License",
packages=packages,
install_requires=requirements,
)