Adding pip_clean script

This commit is contained in:
Michael Lazar
2017-09-06 19:46:57 -04:00
parent f34bb7e9bb
commit 3a0133fc1a
2 changed files with 12 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
----------------------- ----------------------
Contributor Guidlines Contributor Guidelines
----------------------- ----------------------
Before you start Before you start
================ ================

9
scripts/pip_clean.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Removes any lingering build/release files from the project directory
find . -type f -name '*.pyc' -delete
find . -type f -name '*.pyo' -delete
find . -type d -name '__pycache__' -delete
find . -type d -name 'build' -delete
find . -type d -name 'dist' -delete
find . -type d -name '*.egg-info' -delete