Adding Shiboken2 Scripts to Win Build
This fixed the problem with running on windows from a network install. This updated spec worked locally, now testing on github for tomorrow's release.
This commit is contained in:
parent
d45617c11e
commit
5b17a81102
|
@ -2,10 +2,12 @@
|
|||
|
||||
import cloudscraper
|
||||
import cv2
|
||||
import shiboken2
|
||||
import os
|
||||
import glob
|
||||
cloudscraper_dir = os.path.dirname( cloudscraper.__file__ )
|
||||
cv2_ffmpeg_dll = glob.glob(os.path.dirname( cv2.__file__ )+"/*.dll")[0]
|
||||
shiboken_dir = os.path.join( os.path.dirname( shiboken2.__file__ ), 'files.dir' )
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
@ -26,6 +28,7 @@ a = Analysis(['hydrus\\client.pyw'],
|
|||
('hydrus\\sqlite3.dll', '.'),
|
||||
('hydrus\\mpv-1.dll', '.'),
|
||||
(cloudscraper_dir, 'cloudscraper'),
|
||||
(shiboken_dir, 'shiboken2\\files.dir'),
|
||||
(cv2_ffmpeg_dll, '.')
|
||||
],
|
||||
hiddenimports=['hydrus\\server.py', 'cloudscraper'],
|
||||
|
|
Loading…
Reference in New Issue