2015-06-30 22:33:43 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
import sys
|
|
|
|
|
|
|
|
from docker_custodian.__about__ import __version__
|
|
|
|
|
|
|
|
|
|
|
|
install_requires = [
|
|
|
|
'python-dateutil',
|
|
|
|
'docker-py >= 0.5',
|
|
|
|
'pytimeparse',
|
|
|
|
]
|
|
|
|
|
|
|
|
if sys.version_info < (2, 7):
|
|
|
|
install_requires.append('argparse')
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='docker_custodian',
|
|
|
|
version=__version__,
|
|
|
|
provides=['docker_custodian'],
|
|
|
|
author='Daniel Nephin',
|
|
|
|
author_email='dnephin@yelp.com',
|
2015-07-10 19:52:21 +00:00
|
|
|
description='Keep docker hosts tidy.',
|
2015-06-30 22:33:43 +00:00
|
|
|
packages=find_packages(exclude=['tests*']),
|
|
|
|
include_package_data=True,
|
|
|
|
install_requires=install_requires,
|
|
|
|
license="Apache License 2.0",
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'dcstop = docker_custodian.docker_autostop:main',
|
|
|
|
'dcgc = docker_custodian.docker_gc:main',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|