This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
65 lines (48 loc) · 1.7 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
61
62
63
64
65
from pathlib import Path
import sys
sys.path.append('.')
import setuptools
__description__ = "An unofficial Python package for manipulating with Flarum's API"
__author__ = "SKevo"
__copyright__ = "Copyright (c) 2022, SKevo"
__credits__ = ["SKevo"]
__license__ = "MIT"
__version__ = "v1.0.2"
__maintainer__ = "SKevo"
__email__ = "me@kevo.link"
__status__ = "4 - Beta"
# Overwrite docstring, so pdoc can render it:
try:
with open(f"{Path(__file__).parent.absolute()}{Path('/README.md')}", 'r', encoding="UTF-8") as readme:
__readme__ = readme.read()
except:
__readme__ = "Failed to read README.md!\n\n(c) SKevo"
__doc__ = __readme__
setuptools.setup(
name = 'pyFlarum',
packages = setuptools.find_packages(exclude=('tests',)),
long_description=__readme__,
long_description_content_type='text/markdown',
version = __version__,
license = __license__,
description = __description__,
keywords = ['Flarum', 'forum software', 'api', 'Flarum api', 'bot', 'userbot', 'server', 'client'],
author = __author__,
author_email = __email__,
url = 'https://github.com/CWKevo/pyflarum',
install_requires=[
'requests'
],
classifiers=[
f'Development Status :: {__status__}',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'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',
],
)