From 2c3352c57e05956575e58ec05910c0546787fa0e Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Tue, 26 Mar 2019 00:03:07 +0100 Subject: [PATCH] Tell cx_freeze to include cffi when building windows files fixes: #1057 --- README.md | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 434aad0..df9b5ba 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ If you want to build your own Windows binaries: 3. Follow the steps listed under [From source](#from-source) 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 %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` ### Other systems with python diff --git a/appveyor.yml b/appveyor.yml index 16b672c..8edb802 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,7 +32,7 @@ test_script: after_test: - "mkdir svtplay-dl" - "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" - "7z.exe a -tzip svtplay-dl.zip svtplay-dl" - IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" python scripts/cibuild.py