mirror of
https://github.com/thegeeklab/docker-tidy.git
synced 2024-11-22 04:00:40 +00:00
36 lines
835 B
Python
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',
|
|
],
|
|
},
|
|
)
|