12260: Merge branch 'master' into 12260-system-health
[arvados.git] / services / nodemanager / setup.py
1 #!/usr/bin/env python
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 import os
7 import sys
8 import setuptools.command.egg_info as egg_info_cmd
9
10 from setuptools import setup, find_packages
11
12 SETUP_DIR = os.path.dirname(__file__) or "."
13 README = os.path.join(SETUP_DIR, 'README.rst')
14
15 try:
16     import gittaggers
17     tagger = gittaggers.EggInfoFromGit
18 except ImportError:
19     tagger = egg_info_cmd.egg_info
20
21 setup(name='arvados-node-manager',
22       version='0.1',
23       description='Arvados compute node manager',
24       long_description=open(README).read(),
25       author='Arvados',
26       author_email='info@arvados.org',
27       url="https://arvados.org",
28       license='GNU Affero General Public License, version 3.0',
29       packages=find_packages(),
30       scripts=['bin/arvados-node-manager'],
31       data_files=[
32           ('share/doc/arvados-node-manager', ['agpl-3.0.txt', 'README.rst']),
33       ],
34       install_requires=[
35           'apache-libcloud>=2.2',
36           'arvados-python-client>=0.1.20170731145219',
37           'future',
38           'pykka',
39           'python-daemon',
40           'setuptools'
41       ],
42       dependency_links=[
43           "https://github.com/curoverse/libcloud/archive/apache-libcloud-2.2.2.dev1.zip"
44       ],
45       test_suite='tests',
46       tests_require=[
47           'requests',
48           'pbr<1.7.0',
49           'mock>=1.0',
50           'apache-libcloud==2.2.2.dev1',
51       ],
52       zip_safe=False,
53       cmdclass={'egg_info': tagger},
54       )