Fred said:
> 
[snip] 
> I've got another question I think you may have come across before. 
> I'm planning on purchasing a license to use some stock icons in an
> application I'm developing.  The problem is the license requires this:
> 
> "Where an application is to be distributed, the graphical media must
> be compiled into the application binary file or its associated data
> files, documentation files, or components."
> 
> Anyone have any idea as to how I could basically "compile" all my
> artwork into a data file for a python application?  Would this require
> compiling them into a *.dll/*.so?  It seems like there must be any
> easier way--Also, I need my application to work on windows + linux
> (and mac).

Hhhmm...from what I remember, getting at icons in DLLs is pretty easy.
I think that is where windows stores a lot of its icons actually.  If
they are just looking to dissuade the "casual icon theft" maybe they
would be ok if you included the images as base64 encoded strings in your
source code:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52264

You could even take that further by having a resource file or something
that contained pickled base64 encoded image strings.  Maybe that would
be "compiled" enough for them?

> Any suggestions/experience would be greatly appreciated!

Hope some of this helps.  I guess asking them how they have dealt with
interpreted languages in the past might help.

Christian
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to