mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 15:40:17 +00:00
03bcf72d90
git-svn-id: http://svn.pyinstaller.org/trunk@844 8dd32b29-ccff-0310-8a9a-9233e24343b1
25 lines
773 B
RPMSpec
25 lines
773 B
RPMSpec
# -*- mode: python -*-
|
|
|
|
__testname__ = 'test-pycrypto'
|
|
|
|
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
|
|
os.path.join(HOMEPATH,'support', 'useUnicode.py'),
|
|
__testname__ + '.py'])
|
|
pyz = PYZ(a.pure)
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
exclude_binaries=1,
|
|
name=os.path.join('build', 'pyi.' + config['target_platform'], __testname__,
|
|
__testname__ + '.exe'),
|
|
debug=False,
|
|
strip=False,
|
|
upx=False,
|
|
console=True )
|
|
coll = COLLECT(exe,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
strip=False,
|
|
upx=False,
|
|
name=os.path.join('dist', __testname__))
|