2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
6 from __future__ import absolute_import
11 from setuptools import setup, find_packages
13 SETUP_DIR = os.path.dirname(__file__) or '.'
14 README = os.path.join(SETUP_DIR, 'README.rst')
16 import arvados_version
17 version = arvados_version.get_version(SETUP_DIR, "crunchstat_summary")
19 short_tests_only = False
20 if '--short-tests-only' in sys.argv:
21 short_tests_only = True
22 sys.argv.remove('--short-tests-only')
24 setup(name='crunchstat_summary',
26 description='Arvados crunchstat-summary reads crunch log files and summarizes resource usage',
28 author_email='info@arvados.org',
29 url="https://arvados.org",
30 download_url="https://github.com/curoverse/arvados.git",
31 license='GNU Affero General Public License, version 3.0',
32 packages=['crunchstat_summary'],
33 include_package_data=True,
35 'bin/crunchstat-summary'
38 ('share/doc/crunchstat_summary', ['agpl-3.0.txt']),
41 'arvados-python-client',
44 tests_require=['pbr<1.7.0', 'mock>=1.0'],