-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
54 lines (48 loc) · 1.67 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
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(HERE, 'README.rst')).read()
def get_version():
with open("bottom/__init__.py") as f:
for line in f:
if line.startswith("__version__"):
return eval(line.split("=")[-1])
REQUIREMENTS = []
TEST_REQUIREMENTS = [
"coverage==5.2.1",
"flake8==3.8.3",
"mypy==0.782",
"pytest==6.0.1",
"sphinx==3.1.2",
"sphinx-rtd-theme==0.5.0",
"tox==3.18.1",
]
if __name__ == "__main__":
setup(
name="bottom",
version=get_version(),
description="asyncio-based rfc2812-compliant IRC Client",
long_description=README,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries",
"Topic :: Communications :: Chat",
"Topic :: Communications :: Chat :: Internet Relay Chat"
],
author="Joe Cross",
author_email="joe.mcross@gmail.com",
url="https://github.com/numberoverzero/bottom",
license="MIT",
keywords="irc bot asyncio client",
platforms="any",
include_package_data=True,
packages=find_packages(exclude=("tests", "examples")),
install_requires=REQUIREMENTS,
tests_require=REQUIREMENTS + TEST_REQUIREMENTS,
)