Installers for all platforms and related fixes #1
@@ -123,6 +123,11 @@ exe = EXE(
|
|||||||
windowed=True,
|
windowed=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# UPX breaks .NET assemblies: packing Python.Runtime.dll strips/corrupts its
|
||||||
|
# CLR metadata and pythonnet then fails with "Failed to resolve
|
||||||
|
# Python.Runtime.Loader.Initialize from .../Python.Runtime.dll".
|
||||||
|
_upx_exclude = ["Python.Runtime.dll"] if sys.platform == "win32" else []
|
||||||
|
|
||||||
coll = COLLECT(
|
coll = COLLECT(
|
||||||
exe,
|
exe,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
@@ -130,7 +135,7 @@ coll = COLLECT(
|
|||||||
a.datas,
|
a.datas,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
upx_exclude=[],
|
upx_exclude=_upx_exclude,
|
||||||
name="MediaHive",
|
name="MediaHive",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user