How to work with paths on windows

I’m trying to get cibuildwheel working on windows. Before the wheel build, I have to build a C++ library.
Spent hours with try and error. Linux and macosx worked perfectly. Always this damn windows :smiley: Can you help me navigate the path stuff?

This is the relevant code in travis.yml:

    - CIBW_BEFORE_BUILD_WINDOWS="powershell wget \"\" -outfile \"$HOME\\\" && 7z x \"$HOME\\\" -o\"$HOME\\ta-lib\" && Set-Location -Path \"$HOME\\ta-lib\\c\\make\\cdr\\win32\\msvc" && nmake"

The error I get:

Error Command powershell wget "" -outfile "/c/Users/travis\" && 7z x "/c/Users/travis\" -o"/c/Users/travis\ta-lib" && Set-Location -Path "/c/Users/travis\ta-lib\c\make\cdr\win32\msvc failed with code 1. None

The command "python -m cibuildwheel --output-dir wheelhouse" exited with 1.

store build cache

Done. Your build exited with 1.

wget : Could not find a part of the path 'C:\c\Users\travis\'.

At line:1 char:1

+ wget  ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], DirectoryNotFoundException

    + FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.PowerShell.Commands.InvokeWebRequestComma 


gzip: warning: GZIP environment variable is deprecated; use an alias or script