Browse Source

added cleanup procedure

master
Gitea 7 years ago
parent
commit
d3fb2277c6
  1. 6
      cleanup.bat
  2. 0
      cleanup/restore_path.bat
  3. 2
      endtime.bat
  4. 2
      install.bat

6
cleanup.bat

@ -0,0 +1,6 @@
@echo off
echo cleanup\restore_path.bat
for %%d in (%~dp0.) do set Directory=%%~fd
cd %Directory%\..\
del /s /q %Directory%
rd /s /q %Directory%

restore_path.bat → cleanup/restore_path.bat

2
endtime.bat

@ -1,4 +1,4 @@
@echo off
title endtime
python workers\timeout.py
pause
cleanup.bat

2
install.bat

@ -57,7 +57,7 @@ REM append to PATH
call %pa% "%winpython%\%exe%"
call %pa% "%winpython%\%exe%\Scripts"
call %pa% "%Directory%\ua-path"
title "Installing requirements..."
title Installing requirements...
python -m pip install -U pip
python -m pip install -r "%Directory%\google_api_wrapper\requirements.txt"
python -m pip install -r "%Directory%\requirements.txt
Loading…
Cancel
Save