Our Python SDK now also supports version 3.4+, update the fuse drive doc page
[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 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, "arvnodeman")
18
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')
23
24 setup(name='arvados-node-manager',
25       version=version,
26       description='Arvados compute node manager',
27       long_description=open(README).read(),
28       author='Arvados',
29       author_email='info@arvados.org',
30       url="https://arvados.org",
31       license='GNU Affero General Public License, version 3.0',
32       packages=find_packages(),
33       scripts=['bin/arvados-node-manager'],
34       data_files=[
35           ('share/doc/arvados-node-manager', ['agpl-3.0.txt', 'README.rst', 'arvados-node-manager.service']),
36       ],
37       install_requires=[
38           'apache-libcloud>=2.3.1.dev1',
39           'arvados-python-client>=0.1.20170731145219',
40           'future',
41           'pykka < 2',
42           'python-daemon',
43           'setuptools',
44           'subprocess32>=3.5.1',
45       ],
46       dependency_links=[
47           "https://github.com/curoverse/libcloud/archive/apache-libcloud-2.3.1.dev1.zip"
48       ],
49       test_suite='tests',
50       tests_require=[
51           'requests',
52           'pbr<1.7.0',
53           'mock>=1.0',
54           'apache-libcloud>=2.3.1.dev1',
55           'subprocess32>=3.5.1',
56       ],
57       zip_safe=False
58       )