anchor.diff:  @echo on
   setlocal EnableDelayedExpansion
   set SHORT_VERSION=%PKG_VERSION:~0,-2%
  -
  -:: conda-forge/obviousci's obvci_appveyor_python_build_env.cmd used
  -:: so we shouldn't include it finally.  I use it to set the correct
  -:: Windows SDK, but conda-build should take care of that probably??
  -:: It requires TARGET_ARCH to be one of x64 or x86.  On conda-forge
  -:: this script is run *before* bld.bat.
  -if "%ARCH%" == "64" (
  -  set TARGET_ARCH=x64
  -) else (
  -  set TARGET_ARCH=x86
  -)
  -call %RECIPE_DIR%\obvci_appveyor_python_build_env.cmd
   
   :: if "%DXSDK_DIR%" == "" (
   ::   echo You do not appear to have the DirectX SDK installed.  Please get it from
  
positive.code: :: To rewrite qt.conf contents per conda environment
  copy "%RECIPE_DIR%\write_qtconf.bat" "%PREFIX%\Scripts\.qt-post-link.bat"
  if errorlevel 1 exit /b 1
  k.bat"
  if errorlevel 1 exit /b 1
  
negative.code: :: `set QT_OPENGL=software` forces Qt5 to use that but
  :: but when I tried it it was too buggy; Spyder crashed a
  :: little bit later, though it worked for Carlos.
  set WEBBACKEND=qtwebengine
  
  where perl.exe
  if %ERRORLEVEL% neq 0 (
  