aboutsummaryrefslogtreecommitdiffstats
path: root/anime-face-detector/make.bat
diff options
context:
space:
mode:
authorcarp <25677564+carp@users.noreply.github.com>2020-07-13 13:27:55 -0400
committercarp <25677564+carp@users.noreply.github.com>2020-07-13 13:27:55 -0400
commitcb961ed0d6896309336159bda34ed2f75fb60a84 (patch)
tree6d75fcd9bd32b2e884e299ea97e361513036b3a2 /anime-face-detector/make.bat
parente78f351e06e432a607ebadc8de3ea6d27315c088 (diff)
downloadyaoi-communism-cb961ed0d6896309336159bda34ed2f75fb60a84.tar.gz
yaoi-communism-cb961ed0d6896309336159bda34ed2f75fb60a84.zip
add face detection
Diffstat (limited to 'anime-face-detector/make.bat')
-rw-r--r--anime-face-detector/make.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/anime-face-detector/make.bat b/anime-face-detector/make.bat
new file mode 100644
index 0000000..b0d9bff
--- /dev/null
+++ b/anime-face-detector/make.bat
@@ -0,0 +1,20 @@
+@echo off
+if /i "%1" == "clean" goto clean
+goto all
+
+:all
+python setup.py build_ext --inplace
+rd /s /q build
+
+goto exit
+
+
+
+:clean
+del /f /s /q *.cpp
+del /f /s /q *.c
+del /f /s /q *.pyd
+
+goto exit
+
+:exit