Merge branch 'main' from workbench2.git
[arvados.git] / tools / user-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_user_activity")
18
19 setup(name='arvados-user-activity',
20       version=version,
21       description='Summarize user activity from Arvados audit logs',
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_user_activity'],
28       include_package_data=True,
29       entry_points={"console_scripts": ["arv-user-activity=arvados_user_activity.main:main"]},
30       data_files=[
31           ('share/doc/arvados_user_activity', ['agpl-3.0.txt']),
32       ],
33       install_requires=[
34           'arvados-python-client >= 2.2.0.dev20201118185221',
35       ],
36       zip_safe=True,
37 )