forked from dalibo/temboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
# Load version number
setup_path = os.path.dirname(os.path.realpath(__file__))
execfile(os.path.join(setup_path,'temboardui','version.py'))
SETUP_KWARGS = dict(
name='temboard',
version=__version__,
description='temBoard User Interface.',
author='Julien Tachoires, Étienne BERSAC',
license='PostgreSQL',
scripts=['temboard'],
install_requires=[
'python-dateutil>=1.5',
'psycopg2>=2.5.4',
'sqlalchemy>=0.9.8',
'tornado>=3.2,<5.0',
],
include_package_data=True,
zip_safe=False,
url='https://github.com/dalibo/temboard/',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: System Administrators",
"License :: OSI Approved",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 2 :: Only",
"Topic :: Database :: Database Engines/Servers",
"Topic :: System :: Monitoring",
],
data_files=[
('share/temboard', [
'share/create_repository.sh',
]),
('share/temboard/sql/', [
'share/sql/application.sql',
'share/sql/dev-fixture.sql',
'share/sql/monitoring.sql',
'share/sql/alerting.sql',
'share/sql/upgrade-0.0.1-1.1.sql',
]),
('share/temboard/quickstart/', [
'share/temboard_CHANGEME.key',
'share/temboard_CHANGEME.pem',
'share/temboard_ca_certs_CHANGEME.pem',
'share/temboard.conf',
'share/temboard.logrotate',
]),
('lib/systemd/system', ['packaging/temboard.service']),
],
)
if __name__ == '__main__':
setup(
long_description=open('README.rst').read(),
packages=find_packages(),
**SETUP_KWARGS
)