Distributing apps using external libs

Chris Barker wrote:

Jean-Michel Fauth wrote:

1. Distributing separately the lib and the apps.
2. Adding the used lib modules as py modules to the app modules.
3. Adding the used lib modules as zip module to the app.
4. The whole lib in a zip module.
5. Back to py2exe.

I'd go with 1 or 3. Which would depend on:

1) do you have a bunch of apps that all use the library? Would the same
user be likely to use a number of them? I so then 1 makes sense,
otherwise, 3 probably makes more sense.

2) How often does the library change? doing 1 is like dynamically

inking to libs, doing 3 is like statically linking. AS with dynamic
libraries, some versioning system for the lib would be a good idea.

Some modules depend on wxPython...
I did not think about this.

Lesson: Asking is always a good idea

Thanks
Jean-Michel Fauth, Switzerland

ยทยทยท

To : "How often does the library change?"
To: "some versioning system for the lib..."