dev

parent 68fe76fe
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
block_cipher = None block_cipher = None
env_dir = 'C:/Users/AIA/.conda/envs/testmovie/Lib/site-packages/' env_dir = 'C:/Users/AIA/.conda/envs/testmovie/Lib/site-packages/'
missingPkgs = ['Microsoft.CognitiveServices.Speech.core.dll', 'decorator.py', 'google', 'paddle', 'paddleocr', 'PIL', 'requests', 'urllib3', 'http', 'idna', 'certifi', 'setuptools', 'astor', 'charset_normalizer'] missingPkgs = ['Microsoft.CognitiveServices.Speech.core.dll', 'decorator.py', 'google', 'paddleocr', 'PIL', 'requests', 'urllib3', 'http', 'idna', 'certifi', 'setuptools', 'astor', 'charset_normalizer']
def add_missing_packages(lst): def add_missing_packages(lst):
pkgs = [] pkgs = []
...@@ -20,12 +20,12 @@ a = Analysis( ...@@ -20,12 +20,12 @@ a = Analysis(
['start.py'], ['start.py'],
pathex=[], pathex=[],
binaries=[], binaries=[],
datas=[('res','res')] + pkgPaths, datas=[('vits_chinese','vits_chinese')] + [('res','res')] + pkgPaths,
hiddenimports=[], hiddenimports=[],
hookspath=[], hookspath=[],
hooksconfig={}, hooksconfig={},
runtime_hooks=[], runtime_hooks=[],
excludes=[], excludes=['vits_chinese','transformers','torch'],
win_no_prefer_redirects=False, win_no_prefer_redirects=False,
win_private_assemblies=False, win_private_assemblies=False,
cipher=block_cipher, cipher=block_cipher,
...@@ -38,7 +38,7 @@ exe = EXE( ...@@ -38,7 +38,7 @@ exe = EXE(
a.scripts, a.scripts,
[], [],
exclude_binaries=True, exclude_binaries=True,
name='start', name='无障碍电影制作系统',
debug=False, debug=False,
bootloader_ignore_signals=False, bootloader_ignore_signals=False,
strip=False, strip=False,
...@@ -49,6 +49,7 @@ exe = EXE( ...@@ -49,6 +49,7 @@ exe = EXE(
target_arch=None, target_arch=None,
codesign_identity=None, codesign_identity=None,
entitlements_file=None, entitlements_file=None,
icon=['res\\images\\eagle_2.ico'],
) )
coll = COLLECT( coll = COLLECT(
exe, exe,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment