@echo off RMDIR /S /Q dist RMDIR /S /Q build CALL python setup.py bdist_wheel --universal if NOT %ERRORLEVEL% == 0 goto errorHandling cd .. pause exit 0 :errorHandling echo "Error while building..." pause exit 1