21121: Right align numeric column, add note about how stuff is derived
[arvados.git] / tools / cluster-activity / setup.py
1 #!/usr/bin/env python3
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 from __future__ import absolute_import
7 import os
8 import sys
9 import re
10
11 from setuptools import setup, find_packages
12
13 SETUP_DIR = os.path.dirname(__file__) or '.'
14 README = os.path.join(SETUP_DIR, 'README.rst')
15
16 import arvados_version
17 version = arvados_version.get_version(SETUP_DIR, "arvados_cluster_activity")
18
19 setup(name='arvados-cluster-activity',
20       version=version,
21       description='Summarize cluster activity from Arvados audit logs and Prometheus metrics',
22       author='Arvados',
23       author_email='info@arvados.org',
24       url="https://arvados.org",
25       download_url="https://github.com/arvados/arvados.git",
26       license='GNU Affero General Public License, version 3.0',
27       packages=['arvados_cluster_activity'],
28       include_package_data=True,
29       entry_points={"console_scripts": ["arv-cluster-activity=arvados_cluster_activity.main:main"]},
30       data_files=[
31           ('share/doc/arvados_cluster_activity', ['agpl-3.0.txt']),
32       ],
33       install_requires=[
34           *arvados_version.iter_dependencies(version),
35       ],
36       extras_require={"prometheus": ["prometheus-api-client"]},
37       zip_safe=True,
38 )