mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
bbf540d9aa
git-svn-id: http://svn.pyinstaller.org/trunk@514 8dd32b29-ccff-0310-8a9a-9233e24343b1
21 lines
614 B
RPMSpec
21 lines
614 B
RPMSpec
# -*- mode: python -*-
|
|
|
|
__testname__ = 'test2'
|
|
|
|
config['useZLIB'] = 0
|
|
a = Analysis(['../support/_mountzlib.py', 'test2.py'],
|
|
pathex=[],
|
|
hookspath=['hooks1'])
|
|
pyz = PYZ(a.pure, level=0)
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
exclude_binaries=1,
|
|
name=os.path.join('build', 'pyi.' + config['target_platform'], __testname__ + '.exe'),
|
|
icon='test2.ico',
|
|
version='test2-version.txt',
|
|
debug=0,
|
|
console=1)
|
|
coll = COLLECT( exe,
|
|
a.binaries - [('zlib','','EXTENSION')],
|
|
name=os.path.join('dist', __testname__),)
|