This repository was archived by the owner on Jan 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (41 loc) · 1.83 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
# ----------------------------------------------------------------------------------------------------------------------
# - Package Imports -
# ----------------------------------------------------------------------------------------------------------------------
# General Packages
from __future__ import annotations
import setuptools
# Custom Library
# Custom Packages
# ----------------------------------------------------------------------------------------------------------------------
# - Code -
# ----------------------------------------------------------------------------------------------------------------------
def readme_handler() -> str:
with open("README.md", "r") as readme_file:
return readme_file.read()
def version_handler() -> str:
# ------------------------------------------------------------------------------------------------------------------
version = 0,9,1 # <-- DEFINE THE VERSION IN A TUPLE FORMAT HERE
# ------------------------------------------------------------------------------------------------------------------
return ".".join(str(i) for i in version)
setuptools.setup(
name="AthenaTwitchLib",
version=version_handler(),
author="Andreas Sas",
author_email="",
description="A library to create Twitch Chat Bots and connect to the Twitch Helix API.",
long_description=readme_handler(),
long_description_content_type="text/markdown",
url="https://github.com/Athena-Chaos-Driven-Code/AthenaTwitchLib",
project_urls={
"Bug Tracker": "https://github.com/Athena-Chaos-Driven-Code/AthenaTwitchLib/issues",
},
license="GPLv3",
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.11",
install_requires=[
"AthenaLib>=2.3.0",
"AthenaColor>=7.0.1",
"aiosqlite>=0.17.0"
]
)