-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
39 lines (36 loc) · 1.24 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from pathlib import Path
from setuptools import find_packages, setup
with open(Path(__file__).parent / "requirements.in") as f:
requirements = [l.strip() for l in f.readlines() if not l.strip().startswith("#")]
setup(
name="docker-image-cleaner",
# Write down versions here and make git tags following SemVer 2 like
# 1.0.0-alpha.1, they will be automatically converted to PEP440 format
# (1.0.0a1) by PyPI.
#
# PEP440: https://www.python.org/dev/peps/pep-0440/#semantic-versioning
# SemVer 2: https://semver.org
#
version="1.0.0-beta.3",
author="Project Jupyter Contributors",
author_email="[email protected]",
license="BSD",
packages=find_packages(),
url="https://github.com/jupyterhub/docker-image-cleaner",
description="Cleanup old docker images to free up disk space and inodes",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
entry_points={
"console_scripts": [
"docker-image-cleaner = docker_image_cleaner.__main__:main",
]
},
python_requires=">=3.8",
install_requires=requirements,
extras_require={
"test": [
"pytest",
"pytest-cov",
],
},
)