1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

lets build with cx_freeze instead

This commit is contained in:
Johan Andersson 2018-07-09 23:26:31 +02:00
parent f8298a955f
commit d93e0c5e96

View File

@ -10,7 +10,7 @@ install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install -U pip setuptools" - "python -m pip install -U pip setuptools"
- "pip install -r requirements-dev.txt -r requirements.txt" - "pip install -r requirements-dev.txt -r requirements.txt"
- "pip install nuitka" - "pip install cx_freeze"
test_script: test_script:
- "pip install -e ." - "pip install -e ."
@ -18,12 +18,8 @@ test_script:
after_test: after_test:
- "mkdir svtplay-dl" - "mkdir svtplay-dl"
- "mkdir svtplay-dl\\certifi" - "python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=svtplay-dl bin/svtplay-dl"
- "nuitka --recurse-all --output svtplay-dl bin/svtplay-dl"
- "copy %PYTHON%\\lib\\site-packages\\certifi\\cacert.pem svtplay-dl\\certifi"
- "dir svtplay-dl"
- "svtplay-dl\\svtplay-dl.exe --version" - "svtplay-dl\\svtplay-dl.exe --version"
- "rmdir /q /s svtplay-dl\\svtplay-dl.build"
- "7z.exe a -tzip svtplay-dl.zip svtplay-dl" - "7z.exe a -tzip svtplay-dl.zip svtplay-dl"
artifacts: artifacts: