Skip to content

Instantly share code, notes, and snippets.

@jenisys
jenisys / invoke_tasklet_cleanup.py
Created March 4, 2018 10:54
invoke_tasklet_cleanup: Composable cleanup tasks for pyinvoke/invoke
# -*- coding: UTF-8 -*-
"""
Provides cleanup tasks for invoke build scripts (as generic invoke tasklet).
Simplifies writing common, composable and extendable cleanup tasks.
PYTHON PACKAGE REQUIREMENTS:
* path.py >= 8.2.1 (as path-object abstraction)
* pathlib (for ant-like wildcard patterns; since: python > 3.5)
* pycmd (required-by: clean_python())