Here's my spec file after I explicitly collect some DATA files.
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
os.path.join(HOMEPATH,'support/useUnicode.py'), '/home/dheeraj/IDS/
trunk/Scanner/network_mapper.py', '/home/dheeraj/IDS/trunk/
DBWriter.py', '/home/dheeraj/IDS/trunk/Scanner/Plugins/example.py', '/
home/dheeraj/IDS/trunk/Scanner/Plugins/__init__.py', '/home/dheeraj/
IDS/trunk/Scanner/Plugins/nmap.py', '/home/dheeraj/IDS/trunk/Scanner/
Plugins/sinfp.py'],
pathex=['/home/dheeraj/installs/pyinstaller-1.5.1'])
pyz = PYZ(a.pure)
exe = EXE( pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name=os.path.join('dist', 'network_mapper'),
debug=False,
strip=False,
upx=True,
console=1 )
collect = COLLECT([('nmap','/home/dheeraj/IDS/trunk/Scanner/Plugins/
nmap.py','DATA')])
Building still gives the same error... Although I do notice that /
home/dheeraj/installs/pyinstaller-1.5.1/network_mapper/
dist_network_mapper/build/pyi.linux2/network_mapper/outCOLLECT4 has
been made that has my nmap.py source code. However on listing the
contents of directory pointed out by "_MEIPASS2" environ variable at
run time shows a lot of .so files and no ".py" file
Please excuse but I am a newbie and this is all I could make from the
documentation
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.