mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
[no cd] strip non-Win builds
This commit is contained in:
@@ -33,11 +33,15 @@ for d in a.datas:
|
|||||||
|
|
||||||
pyz = PYZ(a.pure)
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
|
|
||||||
if sys.platform == "darwin":
|
if sys.platform == "darwin":
|
||||||
target_arch="universal2"
|
target_arch="universal2"
|
||||||
else:
|
else:
|
||||||
target_arch=None
|
target_arch=None
|
||||||
|
|
||||||
|
# use strip on all non-Windows platforms
|
||||||
|
strip = not sys.platform == 'win32'
|
||||||
|
|
||||||
exe = EXE(pyz,
|
exe = EXE(pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
@@ -45,7 +49,7 @@ exe = EXE(pyz,
|
|||||||
a.datas,
|
a.datas,
|
||||||
name='gam',
|
name='gam',
|
||||||
debug=False,
|
debug=False,
|
||||||
strip=None,
|
strip=strip,
|
||||||
upx=False,
|
upx=False,
|
||||||
target_arch=target_arch,
|
target_arch=target_arch,
|
||||||
console=True)
|
console=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user