Merge branch 'master' into 10797-ruby-2.3
[arvados.git] / services / dockercleaner / setup.py
1 #!/usr/bin/env python3
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 try:
10     import gittaggers
11     tagger = gittaggers.EggInfoFromGit
12 except ImportError:
13     tagger = egg_info_cmd.egg_info
14
15 setup(name="arvados-docker-cleaner",
16       version="0.1",
17       description="Arvados Docker cleaner",
18       author="Arvados",
19       author_email="info@arvados.org",
20       url="https://arvados.org",
21       download_url="https://github.com/curoverse/arvados.git",
22       license="GNU Affero General Public License version 3.0",
23       packages=find_packages(),
24       entry_points={
25           'console_scripts': ['arvados-docker-cleaner=arvados_docker.cleaner:main'],
26       },
27       data_files=[
28           ('share/doc/arvados-docker-cleaner', ['agpl-3.0.txt', 'arvados-docker-cleaner.service']),
29       ],
30       install_requires=[
31           'docker-py==1.7.2',
32           'setuptools',
33       ],
34       tests_require=[
35           'pbr<1.7.0',
36           'mock',
37       ],
38       test_suite='tests',
39       zip_safe=False,
40       cmdclass={'egg_info': tagger},
41 )