-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
executable file
·92 lines (89 loc) · 3.08 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/usr/bin/env python3
# Copyright (C) 2013-2018 Samuel Damashek, Peter Foley, James Forcier, Srijay Kasturi, Reed Koser, Christopher Reffett, and Tris Wilson
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
from setuptools import find_packages, setup
with open("README.rst") as f:
long_description = f.read()
setup(
name="CslBot",
description="An easily extensible, modular irc bot.",
long_description=long_description,
author="The TJHSST Computer Systems Lab",
author_email="[email protected]",
url="https://github.com/tjcsl/cslbot",
version="0.21",
license="GPL",
zip_safe=False,
packages=find_packages(exclude=["cslbot.tjhsst"]),
package_data={
"": [
"alembic/env.py",
"alembic/script.py.mako",
"alembic/versions/*.py",
"static/*.example",
"static/slogans",
"static/shakespeare-dictionary.json",
"static/allstar.txt",
"static/wordlist",
"templates/sorttable.js",
"templates/*.html",
]
},
install_requires=[
"SQLAlchemy>=1.0.0", # bulk_insert_mappings
"requests>=2.4.0", # ConnectTimeout
"absl-py",
"alembic",
"geoip2",
"irc>=12.2", # WHOX support
"jinja2",
"lxml",
"python-dateutil",
"requests_oauthlib",
"sphinx>=1.4.8", # search index fix
"TwitterSearch",
"python-twitter",
],
extras_require={
"analysis": [
"flake8-debugger",
"flake8-import-order",
"flake8-string-format",
"flake8-coding",
"pep8-naming",
"radon",
"autopep8",
"docformatter",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Programming Language :: Python :: 3.5",
"Topic :: Communications :: Chat :: Internet Relay Chat",
],
keywords=["csl", "tjhsst", "tj", "irc", "bot"],
entry_points={
"console_scripts": [
"cslbot = cslbot.helpers.core:init",
"cslbot-parselogs = scripts.parselogs:main",
"cslbot-parsedata = scripts.parsedata:main",
"cslbot-genbabble = scripts.gen_babble:main",
"cslbot-reload = scripts.reload:main",
"cslbot-migrate = scripts.migrate:main",
]
},
)