anchor.diff:  @echo on
   IF "%APPVEYOR_REPO_TAG%" == "true" (
   
  -:: Create shared library archive for Bintray only ig Python 3.6
  +REM Create shared library archive for Bintray only ig Python 3.6
   IF "%PYTHON_VERSION%" == "3.6" (
       cd %APPVEYOR_BUILD_FOLDER%\build\out
   
  
positive.code:     ) ELSE (
          set OSQP_DEPLOY_DIR="osqp-0.2.0.dev0-windows64"
      )
      :: Create directories
      mkdir %OSQP_DEPLOY_DIR%
      mkdir %OSQP_DEPLOY_DIR%\lib
      mkdir %OSQP_DEPLOY_DIR%\include
  
      :: Copy License
      xcopy ..\..\LICENSE %OSQP_DEPLOY_DIR%
  
      :: Copy includes
      xcopy ..\..\include\* %OSQP_DEPLOY_DIR%\include
  
      :: Copy shared library
      xcopy libosqp.dll %OSQP_DEPLOY_DIR%\lib
  
      :: Compress package
      7z a -ttar %OSQP_DEPLOY_DIR%.tar %OSQP_DEPLOY_DIR%\
      7z a -tgzip %OSQP_DEPLOY_DIR%.tar.gz %OSQP_DEPLOY_DIR%.tar
  
      :: Deploy to Bintray
      curl -T %OSQP_DEPLOY_DIR%.tar.gz -ubstellato:%BINTRAY_API_KEY% -H "X-Bintray-Package:OSQP" -H "X-Bintray-Version:0.2.0.dev0" https://api.bintray.com/content/bstellato/generic/OSQP/0.2.0.dev0/
  
      :: Publish
      curl -X POST -ubstellato:%BINTRAY_API_KEY% https://api.bintray.com/content/bstellato/generic/OSQP/0.2.0.dev0/publish
  )
  
  
  
negative.code: python setup.py bdist_wheel
  IF "%TEST_PYPI%" == "true" (
      twine upload --repository testpypi --config-file ..\..\ci\pypirc -p %PYPI_PASSWORD% dist/*
      if errorlevel 1 exit /b 1
  ) ELSE (
      twine upload --repository pypi --config-file ..\..\ci\pypirc -p %PYPI_PASSWORD% dist/*
      if errorlevel 1 exit /b 1
  )
  
  REM Close parenthesis for deploying only if it is a tagged commit
  )
  @echo off
  