mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Files
bd072300d002f6ef97ead103444c5e25ba8eb8ea
30 lines
820 B
Batchfile
30 lines
820 B
Batchfile
@ECHO OFF
|
|||
SETLOCAL ENABLEEXTENSIONS
|
|||
|
|||
SET python_dest_name=Win64
|
|||
SET python_src_name=Python27
|
|||
SET python_src_dir=C:\%python_src_name%
|
|||
|
|||
IF NOT EXIST %python_src_dir% (
|
|||
ECHO Python Source Directory Missing: %python_src_dir%
|
|||
GOTO End
|
|||
)
|
|||
|
|||
IF EXIST %python_dest_name% (
|
|||
ECHO Removing Existing Target Directory: %python_dest_name%
|
|||
RMDIR "%python_dest_name%" /s /q
|
|||
)
|
|||
|
|||
ECHO Copying Python: %python_src_dir%
|
|||
XCOPY /s /i /q "%python_src_dir%" "%python_dest_name%"
|
|||
XCOPY /s /i /q "NoRedist\%python_dest_name%\Microsoft.VC90.CRT" "%python_dest_name%"
|
|||
XCOPY /q "NoRedist\TPS\PythonWinBin.tps" "%python_dest_name%"
|
|||
XCOPY /q "NoRedist\TPS\VisualStudio2008.tps" "%python_dest_name%"
|
|||
XCOPY /q "%WINDIR%\System32\python27.dll" "%python_dest_name%"
|
|||
RMDIR "%python_dest_name%\Doc" /s /q
|
|||
DEL "%python_dest_name%\w9xpopen.exe"
|
|||
|
|||
:End
|
|||
|
|||
PAUSE
|