This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.47 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
'''
Setup for es-metrics-aws-cur-app package.
'''
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
HERE = path.abspath(path.dirname(__file__))
PROJECT = 'grape'
# Get the long description from the README file
with open(path.join(HERE, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
# Get the version.
with open(f'{PROJECT}/__version__') as vifp:
VERSION = vifp.read().strip()
# Run the setup.
setup(
name=PROJECT,
version=VERSION,
description='Grafana Model Development Tool',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='https://github.com/eSentire/grape',
author='eSentire',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
keywords='grafana postgres modeling prototype',
python_requires='>=3.8, <4',
install_requires=['docker',
'psycopg2-binary',
'PyYAML',
'requests'],
packages=find_packages(),
package_data={PROJECT: ['__version__']},
license='MIT',
entry_points={
'console_scripts': [
# One interface to rule them all.
'grape=grape.cli:main',
],
},
)