If a .egg file is in your sys.path, it would be nice to simply use 'python -m' in my opinion. As far as I know, you can't '-m' a module that's been imported from a zip file? <br><br><br><br><div><span class="gmail_quote">
On 3/9/07, <b class="gmail_sendername">Diez B. Roggisch</b> <<a href="mailto:deets@nospam.web.de">deets@nospam.web.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Alessandro de Manzano wrote:<br><br>> Hello,<br>><br>> I'ld ask you all about deployment of python applications.<br>><br>> Sometimes (if not most times..) I would make deployment easy (easier)<br>> for my customers (and for me too...)
<br>><br>> What I mean, would be very useful to have a "jar-like" archive/single<br>> file / multiple platform in order to deploy also complex applications<br>> with many modules.<br>><br>> I know about "py2exe", it's nice but it's Windows only, I would need
<br>> something multiplatform or at least available also for other platforms<br>> (*nix, Mac maybe, ...)<br>><br>> My impression is that Python is a great language but a bit "messy"<br>> about on field deployment...
<br>><br>> What am I missing ? :)<br>> What are your experiences (and solutions ?) for this issues ?<br><br>There are the greate setuptools available, that make creating and installing<br>a single .egg-file (which is very close to a jar) easy as cake - provided
<br>you've got them working.<br><br>I'm not sure if there is some equivalent as<br><br>java -jar <jar><br><br>though. Could be worth thinking about.<br><br>Diez<br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list">
http://mail.python.org/mailman/listinfo/python-list</a><br></blockquote></div><br>