6218: correct exception handling.
[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       install_requires=[
28         'apache-libcloud>=0.16',
29         'arvados-python-client>=0.1.20150206225333',
30         'pykka',
31         'python-daemon',
32         ],
33       scripts=['bin/arvados-node-manager'],
34       test_suite='tests',
35       tests_require=['mock>=1.0'],
36       zip_safe=False,
37       cmdclass={'egg_info': tagger},
38       )