This repository has been archived by the owner on Dec 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
45 lines (42 loc) · 1.92 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
from setuptools import setup
import pathlib
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / 'README.md').read_text(encoding='utf-8')
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with open('dislash/__init__.py', 'r') as f:
version = [line.split('=')[1].strip(" '\"") for line in f.read().splitlines() if line.startswith('__version__')][0]
setup(
name='dislash.py',
version=version,
description='A python wrapper for message components and application commands.',
long_description=long_description,
long_description_content_type='text/markdown',
license='MIT',
url='https://github.com/EQUENOS/dislash.py',
author='EQUENOS',
author_email='[email protected]',
keywords='python, discord, slash, commands, api, discord-api, discord-py, slash-commands, message-components, buttons, select-menus, context-menus',
packages=['dislash', 'dislash.application_commands', 'dislash.interactions', 'dislash.application_commands._modifications'],
python_requires='>=3.6, <4',
install_requires=requirements,
project_urls={
'Documentation': 'https://dislashpy.readthedocs.io/en/latest',
'Bug Reports': 'https://github.com/EQUENOS/dislash.py/issues',
'Source': 'https://github.com/EQUENOS/dislash.py',
},
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
)