Fix windows build script for new version of PySide6

This commit is contained in:
Micah Lee 2023-05-21 16:30:45 -07:00 committed by Saptak S
parent c34fb5a393
commit a94c7c8f92
No known key found for this signature in database
GPG Key ID: 7B7F1772C0C6FCBF
2 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,9 @@ poetry install
**Linux users:** In Ubuntu you may need the `libxcb-xinerama0` package installed. **Linux users:** In Ubuntu you may need the `libxcb-xinerama0` package installed.
**Windows users:** Download and install 7-Zip (x64) from https://7-zip.org/download.html. [Add](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53) `C:\Program Files\7-Zip` to your path. **Windows users:**
- Download and install 7-Zip (x64) from https://7-zip.org/download.html. [Add](https://medium.com/@kevinmarkvi/how-to-add-executables-togit fethc-your-path-in-windows-5ffa4ce61a53) `C:\Program Files\7-Zip` to your path.
- Download and install gpg4win from https://gpg4win.org/. Add `C:\Program Files (x86)\GnuPG\bin` to your path too.
Download Tor Browser and extract the binaries for your platform. The platform must be `win64`, `macos`, or `linux64`. Download Tor Browser and extract the binaries for your platform. The platform must be `win64`, `macos`, or `linux64`.

View File

@ -324,7 +324,7 @@ def cleanup_build():
build_path = os.path.join(desktop_dir, "build", "exe.win-amd64-3.10") build_path = os.path.join(desktop_dir, "build", "exe.win-amd64-3.10")
before_size = get_size(build_path) before_size = get_size(build_path)
for dirname in ["examples", "qml"]: for dirname in ["qml"]:
shutil.rmtree(os.path.join(build_path, "lib", "PySide6", dirname)) shutil.rmtree(os.path.join(build_path, "lib", "PySide6", dirname))
for dirname in [ for dirname in [
"assetimporters", "assetimporters",