forked from valeth/apex-framework-old
/
setup.py
46 lines (42 loc) · 1.36 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
from setuptools import setup
from setuptools import find_packages
import re as regex
def long_description():
with open('README.md') as file:
return file.read()
def get_version():
with open('apex/__init__.py') as file:
return regex.search(r'^__version__\s*=\s*"(.*)"$', file.read(), regex.MULTILINE).group(1)
setup(
name='apex-framework',
version=get_version(),
description='A bot framework for Python',
long_description=long_description(),
url='https://lucia.moe',
author='Valeth',
author_email='a010@protonmail.com',
license='GPL-3.0',
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Communications :: Chat',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='bot discord framework',
packages=find_packages(exclude=['tests*']),
install_requires=[],
python_requires='>=3.6',
extras_require={
'discord': ['discord.py'],
'systemd': ['systemd']
},
scripts=[
'bin/apex'
]
)