-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·67 lines (59 loc) · 1.88 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
#!/usr/bin/env python
from glob import glob
from setuptools import setup, find_packages
def parse_requirements(filename):
with open(filename, "r") as f:
for line in f:
if line and line[:2] not in ("#", "-e"):
yield line.strip()
setup(
name="kdb",
description="Knowledge (IRC) Database Bot",
long_description="{0:s}\n\n{1:s}".format(
open("README.rst").read(), open("CHANGES.rst").read()
),
author="James Mills",
author_email="James Mills, prologic at shortcircuit dot net dot au",
url="http://github.com/prologic/kdb/",
download_url="http://github.com/prologic/kdb/downloads/",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Communications :: Chat :: Internet Relay Chat",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
license="MIT",
keywords="Knowledge Database IRC Bot Framework",
platforms="POSIX",
packages=find_packages("."),
package_data={
"kdb.plugins.web": [
"static/css/*",
"static/ico/*",
"static/js/*",
"templates/*",
],
},
include_package_data=True,
scripts=glob("bin/*"),
install_requires=list(parse_requirements("requirements.txt")),
entry_points={
"console_scripts": [
"kdb=kdb.main:main",
]
},
test_suite="tests.main.main",
zip_safe=False,
use_scm_version={
"write_to": "kdb/version.py",
},
setup_requires=[
"setuptools_scm"
],
)