forked from weaveworks/grafanalib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (50 loc) · 1.71 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
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.6.3',
description='Library for building Grafana dashboards',
long_description=open(README).read(),
url='https://github.com/weaveworks/grafanalib',
project_urls={
"Documentation": "https://grafanalib.readthedocs.io",
"Source": "https://github.com/weaveworks/grafanalib",
},
author='Weaveworks',
author_email='help+grafanalib@weave.works',
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.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: System :: Monitoring',
],
install_requires=[
'attrs>=15.2.0',
],
extras_require={
'dev': [
'flake8',
'pytest',
],
},
entry_points={
'console_scripts': [
'generate-dashboard=grafanalib._gen:generate_dashboard_script',
'generate-dashboards=grafanalib._gen:generate_dashboards_script',
],
},
)