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