-
Notifications
You must be signed in to change notification settings - Fork 51
/
setup.py
69 lines (63 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
68
69
import ast
import re
from setuptools import find_packages, setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('bottery/__init__.py', encoding='utf8') as f:
# Search for `__version__` on bottery/__init__.py and get its values
version = ast.literal_eval(_version_re.search(f.read()).group(1))
with open('README.md') as f:
long_description = f.read()
setup(
name='bottery',
description='A bot framework with batteries included',
version=version,
url='https://github.com/rougeth/bottery',
license='MIT',
author='Marco Rougeth',
author_email='[email protected]',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(),
package_data={
'bottery': ['conf/project_template/*-tpl'],
},
entry_points={
'console_scripts': ['bottery=bottery.cli:cli'],
},
install_requires=[
'aiohttp',
'attrs',
'click',
'halo',
'jinja2',
'requests',
],
extras_require={
'dev': [
'coverage',
'flake8',
'isort',
'pytest',
'pytest-aiohttp',
'pytest-asyncio',
'pytest-cov',
'pytest-lazy-fixture',
'pytest-mock',
'sphinx',
'testfixtures',
],
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: User Interfaces',
'Topic :: Utilities',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)