docker-tidy/setup.py
2015-07-10 12:52:21 -07:00

36 lines
835 B
Python

# -*- 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',
description='Keep docker hosts tidy.',
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',
],
},
)