Skip to content
Snippets Groups Projects
Commit d14a59ef authored by nimrod's avatar nimrod
Browse files

CLI and package scaffolding.

Should be installable and the CLI should be there but do nothing.
parent a2f434e6
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,10 @@
include:
- project: shore/ci-stuff
file: templates/pre-commit.yml
- project: shore/ci-stuff
file: templates/python.yml
install-wheel:
extends: .install-wheel
script:
- deepclean -h
include *.rst
include *.txt
exclude .pre-commit-config.yaml
exclude .gitlab-ci.yml
exclude .gitignore
"""Clean old versions of Docker images."""
__version__ = "0.0.1"
"""Clean old versions of Docker images."""
import argparse
def main():
"""Main entrypoint."""
parser = argparse.ArgumentParser(
description=__doc__,
)
args = parser.parse_args()
print(args)
if __name__ == "__main__":
main()
[bumpversion]
current_version = 0.0.1
commit = True
tag = True
[bdist_wheel]
universal = 1
[bumpversion:glob:*/__init__.py]
setup.py 0 → 100644
from setuptools import find_packages, setup
import deepclean
with open("README.rst", "r", encoding="utf-8") as readme:
long_description = readme.read()
setup(
name="deepclean",
version=deepclean.__version__,
description=deepclean.__doc__.splitlines()[0],
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://git.shore.co.il/nimrod/deepclean",
author="Nimrod Adar",
author_email="nimrod@shore.co.il",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
],
keywords=[
"docker",
],
packages=find_packages(),
install_requires=[
"docker",
],
entry_points={"console_scripts": ["deepclean=deepclean.__main__:main"]},
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment