summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortbkizle <tbkizle@gmail.com>2022-01-14 08:05:23 -0500
committerCalum Lind <calumlind+deluge@gmail.com>2022-01-21 13:12:23 +0000
commit2cad0f46f2fd7d9f9cc6f6f0998a982254ccd378 (patch)
treee07ba7408959b29e2533adb2b99726b4c0adcc69
parent5931d0cc0b346eef9a072fd4e0c29341c4fca28c (diff)
downloaddeluge-2cad0f46f2fd7d9f9cc6f6f0998a982254ccd378.tar.gz
deluge-2cad0f46f2fd7d9f9cc6f6f0998a982254ccd378.tar.bz2
deluge-2cad0f46f2fd7d9f9cc6f6f0998a982254ccd378.zip
[CI] Add pygame to windows package build/spec file
pygame is required by notification plugin for sounds
-rw-r--r--.github/workflows/cd.yml1
-rw-r--r--packaging/win/delugewin.spec2
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 2face5d00..030aa3fd4 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -65,6 +65,7 @@ jobs:
https://github.com/doadin/twisted/releases/download/latest/Twisted-21.7.0.post0-py3-none-any.whl
libtorrent==${{ matrix.libtorrent }}
pyinstaller
+ pygame
-r requirements.txt
- name: Install Deluge
diff --git a/packaging/win/delugewin.spec b/packaging/win/delugewin.spec
index d6c93d923..4fafff049 100644
--- a/packaging/win/delugewin.spec
+++ b/packaging/win/delugewin.spec
@@ -8,7 +8,7 @@ from PyInstaller.utils.hooks import collect_all, copy_metadata
datas = []
binaries = []
-hiddenimports = []
+hiddenimports = ['pygame']
runtime_hooks_gtk = [os.path.join(SPECPATH, 'pyi_rth_gtk_csd.py')]
# Collect Meta Data