-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
56 lines (52 loc) · 1.82 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
# -*- encoding: utf8 -*-
import os, io, sys
from glob import glob
from setuptools import setup, find_packages
def read(*names, **kwargs):
return io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
data_files = [
('/opt/simmetrica/config', ['config/config.yml']),
('/opt/simmetrica/static/javascripts', glob('static/javascripts/*')),
('/opt/simmetrica/static/stylesheets', glob('static/stylesheets/*')),
('/opt/simmetrica/templates', glob('templates/*')),
]
setup(
name="simmetrica",
version="1.0.2",
url='https://github.com/o/simmetrica',
license='MIT',
description='Library for collecting, aggregating and visualizing event '
'metrics as timeseries data',
long_description=read('README.md'),
author='Osman Üngür',
author_email='[email protected]',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Topic :: System :: Monitoring'
],
keywords=[
'event', 'metric', 'timeseries', 'statistics',
],
install_requires=['redis','flask','pyyaml'],
tests_require=['mock'],
scripts=glob('bin/*'),
data_files=data_files
)