instead of tree try PKG , it will archive your data into a .pkg file
and
in your installation script you can unarchive it.
On May 27, 4:46 pm, Tobbe <[EMAIL PROTECTED]> wrote:
> This is the spec file I'm using. As you can see I have tried to use
> the Tree class to include the data directory, but it doesn't seem to
> work...
>
> a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'),
> os.path.join(HOMEPATH,'support\\useUnicode.py'), 'c:\\Tobbe\
> \DevProjects\\Python\\Slide\\slide.py'],
> pathex=['C:\\Tobbe\\Download\\pyinst'])
> pyz = PYZ(a.pure)
> tree = Tree('c:\\Tobbe\\DevProjects\\Python\\Slide\\data')
> exe = EXE( pyz,
> a.scripts,
> a.binaries,
> tree,
> name='slide.exe',
> debug=False,
> strip=False,
> upx=False,
> console=False )
>
> On May 27, 4:27 am, Tobbe <[EMAIL PROTECTED]> wrote:
>
> > Hi
>
> > After using pyinstaller to make a --onedir package I had to manually
> > copy a folder from my source tree containing images my python script
> > uses. That was easy enough. But now I want to use the --onefile
> > package method instead. How should I handle this folder with images
> > now?
>
> > Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---