docker-tidy/setup.py

36 lines
845 B
Python
Raw Normal View History

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',
description='Keep docker hosts clean and 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',
],
},
)