Skip to content

Commit

Permalink
Fix Execute and Extractor Plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
doadin committed Jan 13, 2022
1 parent 8cd48d3 commit f3a8f72
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions packaging/win/delugewin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ from PyInstaller.utils.hooks import collect_all, copy_metadata
datas = []
binaries = []
hiddenimports = []
tmp_ret = collect_all('deluge')

# Collect Meta Data
datas += copy_metadata('deluge', recursive=True)
datas += copy_metadata('service-identity', recursive=True)
#datas += tmp_ret[0]
#binaries += tmp_ret[1]

# Add Deluge Hidden Imports
tmp_ret = collect_all('deluge')
hiddenimports += tmp_ret[2]

#Add Hidden Imports for Plugins
tmp_ret2 = collect_all('twisted')
hiddenimports += tmp_ret2[2]
datas += copy_metadata('twisted', recursive=True)

# Get build_version from installed deluge.
build_version = deluge.common.get_version()
#Copy UI/Plugin files to where pyinstaller expects
Expand Down

0 comments on commit f3a8f72

Please sign in to comment.