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
14
14
make html
15
15
16
16
17
+ # Local project directory and environment management recipes
18
+ .PHONY : init
19
+ init : requirements.txt
20
+ pip install -r requirements.txt
21
+
22
+
17
23
# Local testing recipes
18
24
.PHONY : tests
19
25
tests : toxtest lint ;
@@ -35,11 +41,7 @@ lint :
35
41
36
42
# Cleaning recipes
37
43
.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 ;
43
45
44
46
.PHONY : cleanbuild
45
47
cleanbuild :
@@ -56,3 +58,14 @@ cleantox : cleanpytest
56
58
.PHONY : cleanpytest
57
59
cleanpytest :
58
60
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