Skip to main content

A Cleanup Utility

Project description

Travis CI Build Status AppVeyor Build Status

If one’d like to make sphinx repository with github-pages sumodule, one shoud exclude rm _build/html/.git.

make-clean package provide to keep .git file with it.

Switch make.bat file clean to below:

if "%1" == "clean" (
      .\path\to\make-clean.exe _build -i _build\html\.git _build\html\.gitignore
      goto end


This package has a make-clean command.

> .\venv\Scripts\make-clean.exe -h
usage: [-h] [--clean-ignore CLEAN_IGNORE]
                            [-i [IGNORE [IGNORE ...]]]
                            TARGET_DIR [TARGET_DIR ...]

clean target dir without ignores

positional arguments:
  TARGET_DIR            dir to remove recursively

optional arguments:
  -h, --help            show this help message and exit
  --clean-ignore CLEAN_IGNORE
                        dir/file file to ignore from remove
  -i [IGNORE [IGNORE ...]], --ignores [IGNORE [IGNORE ...]]
                        dir/file to ignore from remove


I use pytest.

> C:\path\to\python\3.X.Y\python.exe -m venv --clear venv
> .\venv\Scripts\python.exe develop easy_install make-clean[test]
> .\venv\Scripts\python.exe -m pytest

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for make-clean, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size make_clean-2.0.1-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size (6.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page