File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ docs : docs/Makefile
1414 make html
1515
1616
17+ # Local project directory and environment management recipes
18+ .PHONY : init
19+ init : requirements.txt
20+ pip install -r requirements.txt
21+
22+
1723# Local testing recipes
1824.PHONY : tests
1925tests : toxtest lint ;
@@ -35,11 +41,7 @@ lint :
3541
3642# Cleaning recipes
3743.PHONY : clean
38- clean : cleanbuild cleandocs cleanpytest cleantox cleandist ;
39-
40- .PHONY : cleandist
41- cleandist :
42- rm -rf ./dist/*
44+ clean : cleanbuild cleandocs cleanpytest cleantox ;
4345
4446.PHONY : cleanbuild
4547cleanbuild :
@@ -56,3 +58,14 @@ cleantox : cleanpytest
5658.PHONY : cleanpytest
5759cleanpytest :
5860 rm -rf ./.cache/
61+
62+ .PHONY : clean-all
63+ clean-all : clean clean-dist ;
64+
65+ .PHONY : clean-dist
66+ cleandist :
67+ rm -rf ./dist/*
68+
69+ .PHONY : clean-venv
70+ clean-venv :
71+ pip freeze | grep -v " ^-e" | xargs pip uninstall -y
You can’t perform that action at this time.
0 commit comments