-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
38 lines (31 loc) · 1.03 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
from pip.req import parse_requirements
from setuptools import find_packages
from setuptools import setup
from setuptools.command.install import install as _install
install_requirements = parse_requirements('requirements.txt', session=False)
requirements = [str(ir.req) for ir in install_requirements]
class install(_install):
def run(self):
_install.run(self)
setup(
name='prom-finagle-exporter',
version='0.0.1',
author=u'Infra Squad',
author_email='[email protected]',
description='prom metrics exporter',
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
cmdclass={'install': install},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.5',
],
entry_points={
'console_scripts': [
'finagle-exporter=prom_finagle_exporter.main:cli',
]},
)