|
|
@ -4,19 +4,19 @@ |
|
|
|
|
|
|
|
|
for %%d in (%~dp0..) do set ParentDirectory=%%~fd |
|
|
for %%d in (%~dp0..) do set ParentDirectory=%%~fd |
|
|
|
|
|
|
|
|
for /f "usebackq tokens=*" %%a in (`dir /B ^| findstr /r /i winpython.*`) do ( |
|
|
|
|
|
set setup=%%a |
|
|
|
|
|
|
|
|
for /f "usebackq tokens=*" %%a in (`dir /B installer`) do ( |
|
|
|
|
|
set setup=installer\%%a |
|
|
goto skipA |
|
|
goto skipA |
|
|
) |
|
|
) |
|
|
:skipA |
|
|
:skipA |
|
|
set Directory=%~dp0 |
|
|
|
|
|
|
|
|
REM set Directory=%~dp0 |
|
|
"%Directory%\%setup%" |
|
|
"%Directory%\%setup%" |
|
|
set winpython=%%a |
|
|
|
|
|
|
|
|
REM set winpython=%%a |
|
|
for /f "usebackq tokens=*" %%a in (`dir /A:D /B ^| findstr /r /i w.*py.*`) do ( |
|
|
for /f "usebackq tokens=*" %%a in (`dir /A:D /B ^| findstr /r /i w.*py.*`) do ( |
|
|
set winpython=%%a |
|
|
set winpython=%%a |
|
|
goto skipB |
|
|
goto skipB |
|
|
) |
|
|
) |
|
|
:skipBq |
|
|
|
|
|
|
|
|
:skipB |
|
|
set winpython="%Directory%\%winpython%" |
|
|
set winpython="%Directory%\%winpython%" |
|
|
for /f "usebackq tokens=*" %%a in (`dir /A:D /B %winpython% ^| findstr /r /i python.*`) do ( |
|
|
for /f "usebackq tokens=*" %%a in (`dir /A:D /B %winpython% ^| findstr /r /i python.*`) do ( |
|
|
set exe=%%a |
|
|
set exe=%%a |
|
|
@ -30,4 +30,4 @@ md "%winpython%\settings\.idlerc" |
|
|
copy config-highlight.cfg %winpython%\settings\.idlerc |
|
|
copy config-highlight.cfg %winpython%\settings\.idlerc |
|
|
md "%appdata%\Notepad++\themes" |
|
|
md "%appdata%\Notepad++\themes" |
|
|
copy themes "%appdata%\Notepad++\themes" |
|
|
copy themes "%appdata%\Notepad++\themes" |
|
|
%exe% workers\install.py from_pack workers\packs.txt |
|
|
|
|
|
|
|
|
"%exe%" -m pip install -r %Directory%\google_api_wrapper\requirements.txt |