Re: image files packaged into single file executalble py pyinstaller
"Brendan Simon (eTRIX)" <[email protected]>
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Organization | eTRIX pty ltd |
| Message-ID | <[email protected]> |
Sure. Happy to have it included. Note that using relative files is relative to the local directory at the time wxglade is invoked. e.g. if relative file is `images/logo.png`, then starting wxglade in the parent of `images` directory is required. if you invoke from another directory (e.g. `/tmp` or `~`) then it doesn't work. Example: this works $ cd /home/brendan/myproject/ $ python /home/bnrendan/wxglade/wxglade.py myproject.wxg But this will not: $ cd ~ $ python /home/bnrendan/wxglade/wxglade.py myproject/myproject.wxg It's probably not an issue, but is there anyway to make it relative to the project file? Would that make sense? Brendan. ------------------------------------------------------------------------ On 11/11/17 6:51 am, Dietmar Schwertberger wrote: > Hi Simon, > > with 0.8.0a8 the handling of relative paths should work better. > Previously, the preview had problems resolving the path. > > If it's OK, I would like to include your MyBitmap code snippet into > the wxGlade documentation. > > Regards, > > Dietmar -- ------------------------------------------------------------------------ *eTRIX pty ltd* PO Box 497, Inverloch, VIC 3996, AUSTRALIA. +61-(0)417-380-984 [email protected] ------------------------------------------------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ wxGlade-general mailing list wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/wxglade-general