-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
56 lines (51 loc) · 1.55 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
import os
import re
from setuptools import setup
from setuptools import find_packages
chattiefile = os.path.join(os.path.dirname(__file__),
'src', 'chattie', '__init__.py')
# Thanks to SQLAlchemy:
# https://github.com/zzzeek/sqlalchemy/blob/master/setup.py#L104
with open(chattiefile) as stream:
__version__ = re.compile(
r".*__version__ = '(.*?)'", re.S
).match(stream.read()).group(1)
setup(
name='chattie',
description='A framework for making bots in Python. Inspired by Hubot',
version=__version__,
packages=find_packages(where='src'),
package_dir={'': 'src'},
author="Mathew Robinson",
author_email="[email protected]",
download_url='https://github.com/chasinglogic/Chattie',
install_requires=[
'requests',
'click'
],
extras_require={
'matrix': ['matrix_client'],
'telegram': ['telegram']
},
entry_points={
'console_scripts': [
'chattie = chattie.cli:chattie'
],
'chattie.plugins.tricks': [
'default_tricks = chattie.tricks',
],
'chattie.plugins.connectors': [
'telegram = chattie.connectors.telegram',
'terminal = chattie.connectors.term',
'matrix = chattie.connectors.matrix'
],
'chattie.plugins.inventories': [
'json = chattie.inventory.json'
]
},
license='Apache2.0',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3'
]
)