set “VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build”
set CMAKE_GENERATOR=Visual Studio 15 2017 Win64
set DISTUTILS_USE_SDK=1
set “CUDAHOSTCXX=%VS140COMNTOOLS%…\VC\bin\amd64\cl.exe” (Point this one to your legacy VS 2015/2017 x64 compiler)
call “%VS150COMNTOOLS%\vcvarsall.bat” x64
python setup.py install