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
|
from setuptools import setup
with open('discord_ban_list/version.py') as fp:
_loc, _glob = {}, {}
exec(fp.read(), _loc, _glob)
version = {**_loc, **_glob}['VERSION']
with open('requirements.txt') as fp:
requirements = fp.read().splitlines()
with open('README.md') as fp:
readme = fp.read()
if not version:
raise RuntimeError('Version is not set in discord_ban_list/version.py')
setup(
name='discord_ban_list',
author='romangraef',
url='https://github.com/romangraef/discord_ban_list',
version=str(version),
install_requires=requirements,
long_description=readme,
setup_requires=['pytest-runner', 'pytest-pylint'],
tests_require=['pytest', 'pylint'],
license='MIT',
packages=['discord_ban_list'],
description='Asyncio Python Wrapper for the discord.id ban list.',
classifiers=[
'Topic :: Discord',
'Operating System :: OS Independent',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)
|