1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

Tell cx_freeze to include cffi when building windows files

fixes: #1057
This commit is contained in:
Johan Andersson 2019-03-26 00:03:07 +01:00
parent 7649c2dad5
commit 2c3352c57e
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ If you want to build your own Windows binaries:
3. Follow the steps listed under [From source](#from-source) 3. Follow the steps listed under [From source](#from-source)
4. cd path\to\svtplay-dl && mkdir build 4. cd path\to\svtplay-dl && mkdir build
5. `python setversion.py` # this will change the version string to a more useful one 5. `python setversion.py` # this will change the version string to a more useful one
5. `python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=build bin/svtplay-dl` 5. `python %PYTHON%\\Scripts\\cxfreeze --include-modules=cffi,queue,idna.idnadata --target-dir=build bin/svtplay-dl`
6. Find binary in build folder. you need `svtplay-dl.exe` and `pythonXX.dll` from that folder to run `svtplay-dl.exe` 6. Find binary in build folder. you need `svtplay-dl.exe` and `pythonXX.dll` from that folder to run `svtplay-dl.exe`
### Other systems with python ### Other systems with python

View File

@ -32,7 +32,7 @@ test_script:
after_test: after_test:
- "mkdir svtplay-dl" - "mkdir svtplay-dl"
- "python setversion.py" - "python setversion.py"
- "python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=svtplay-dl bin/svtplay-dl" - "python %PYTHON%\\Scripts\\cxfreeze --include-modules=cffi,queue,idna.idnadata --target-dir=svtplay-dl bin/svtplay-dl"
- "svtplay-dl\\svtplay-dl.exe --version" - "svtplay-dl\\svtplay-dl.exe --version"
- "7z.exe a -tzip svtplay-dl.zip svtplay-dl" - "7z.exe a -tzip svtplay-dl.zip svtplay-dl"
- IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" python scripts/cibuild.py - IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" python scripts/cibuild.py