anchor.diff:  goto:eof
   
   :check_change_of_unittest_error
  -call paddle_winci\Scripts\deactivate.bat
  -exit /b 6
  +call paddle_winci\Scripts\deactivate.bat 2>NUL
  +exit /b 1
   
   
   rem ---------------------------------------------------------------------------------------------
  
positive.code: if not defined PYTHON_ROOT set PYTHON_ROOT=C:\Python37
  set PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\Scripts;%PATH%
  
  set PYTHON_EXECUTABLE=%PYTHON_ROOT%\python.exe
  %PYTHON_EXECUTABLE% -m pip install virtualenv
  %PYTHON_EXECUTABLE% -m virtualenv paddle_winci
  call paddle_winci\Scripts\activate.bat
  
  rem ------pre install requirement----------
  where python
  where pip
  pip install --upgrade pip
  pip install wheel
  pip install gym
  pip install -U -r %work_dir%\python\requirements.txt
  if %ERRORLEVEL% NEQ 0 (
      call paddle_winci\Scripts\deactivate.bat
      exit /b %ERRORLEVEL%
  )
  
  rem ------initialize common variable------
  
negative.code: goto:eof
  
  :build_error
  call paddle_winci\Scripts\deactivate.bat 2>NUL
  echo Build Paddle failed, will exit!
  exit /b 7
  
  