aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: 5065fcb6d8285df54cfc672b5e7854e0ccd31b2e (plain)
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
from setuptools import setup

with open('drutils/version.py') as f:
    _loc = {}
    exec(f.read(), _loc, _loc)
    version = _loc['VERSION']

dev_requirements = [
    "pylint", "aiounittest", "tox", "pytest"
]

with open('README.md') as f:
    readme = f.read()

if not version:
    raise RuntimeError('version is not set in drutils/version.py')

setup(
    name="drutils",
    author="romangraef",
    url="https://github.com/romangraef/drutils",
    version=str(version),
    install_requires=[],
    long_description=readme,
    setup_requires=[],
    tests_require=dev_requirements,
    dependency_links=[''],
    license="MIT",
    packages=['drutils'],
    description="discord.py utils i found myself using often",
    classifiers=[
        'Topic :: Utilities',
    ]
)