-
Notifications
You must be signed in to change notification settings - Fork 316
/
setup.py
59 lines (52 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
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/guides/single-sourcing-package-version/
version='0.7.1',
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.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'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',
'generate-alertgroup=grafanalib._gen:generate_alertgroup_script',
'generate-alertgroups=grafanalib._gen:generate_alertgroups_script'
],
},
)