forked from line/promgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (63 loc) · 2.03 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
# Copyright (c) 2017 LINE Corporation
# These sources are released under the terms of the MIT license: see LICENSE
import os
from setuptools import find_packages, setup
# Read version information
# Taken from https://github.com/kennethreitz/pipenv/blob/master/setup.py
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "promgen", "version.py")) as f:
exec(f.read(), about)
setup(
name='Promgen',
author='LINE Corporation',
packages=find_packages(exclude=['test']),
version=about['__version__'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP',
],
install_requires=[
'atomicwrites',
'celery[redis]==4.1.0',
'dj-database-url',
'Django >= 1.11, < 1.12',
'envdir',
'prometheus-client',
'python-dateutil',
'pyyaml',
'raven',
'requests',
'social-auth-app-django',
],
include_package_data=True,
extras_require={
'dev': [
'codecov',
'django-nose',
'nose-cov',
]
},
entry_points={
'console_scripts': [
'promgen = promgen.manage:main',
],
'promgen.discovery': [
'promgen = promgen.discovery.default:DiscoveryPromgen',
],
'promgen.notification': [
'email = promgen.notification.email:NotificationEmail',
'ikasan = promgen.notification.ikasan:NotificationIkasan',
'linenotify = promgen.notification.linenotify:NotificationLineNotify',
'user = promgen.notification.user:NotificationUser',
'webhook = promgen.notification.webhook:NotificationWebhook',
],
}
)