forked from weaveworks/grafanalib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (44 loc) · 1.46 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
import os
from setuptools import setup, find_packages
def local_file(name):
return os.path.relpath(os.path.join(os.path.dirname(__file__), name))
README = local_file('README.rst')
setup(
name='grafanalib',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.5.2',
description='Library for building Grafana dashboards',
long_description=open(README).read(),
url='https://github.com/weaveworks/grafanalib',
author='Weaveworks',
author_email='[email protected]',
license='Apache',
packages=find_packages(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: System :: Monitoring',
],
install_requires=[
'attrs',
],
extras_require={
'dev': [
'flake8',
'pytest',
],
},
entry_points={
'console_scripts': [
'generate-dashboard=grafanalib._gen:generate_dashboard_script',
'generate-dashboards=grafanalib._gen:generate_dashboards_script',
],
},
)