-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
26 lines (21 loc) · 853 Bytes
/
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
from setuptools import setup
from elasticstat import __version__, __author__
def read_requirements(env_type):
with open('requirements/{}.txt'.format(env_type), 'r') as fd:
return [line.strip() for line in fd if not line.startswith('-') and not line.startswith('#')]
setup(
name='elasticstat',
version=__version__,
description='Real-time performance monitoring of an Elasticsearch cluster from the command line',
author=__author__,
author_email='[email protected]',
url = 'https://github.com/objectrocket/elasticstat',
download_url = 'https://github.com/objectrocket/elasticstat/archive/1.3.0.tar.gz',
install_requires=read_requirements('prod'),
packages=['elasticstat'],
entry_points={
'console_scripts': [
'elasticstat = elasticstat.elasticstat:main'
]
}
)