mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
6fcf6732c5
exception handling during imports. git-svn-id: http://svn.pyinstaller.org/trunk@586 8dd32b29-ccff-0310-8a9a-9233e24343b1
20 lines
573 B
RPMSpec
20 lines
573 B
RPMSpec
# -*- mode: python -*-
|
|
|
|
__testname__ = 'test_error_during_import'
|
|
|
|
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
|
|
os.path.join(HOMEPATH,'support/useUnicode.py'),
|
|
os.path.join(HOMEPATH,'support/_pyi_egg_extract.py'),
|
|
__testname__ + '.py'],
|
|
)
|
|
pyz = PYZ(a.pure)
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
name = os.path.join('dist', __testname__, __testname__ +'.exe'),
|
|
debug=False,
|
|
strip=False,
|
|
upx=False,
|
|
console=1 )
|