Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JAR-like facility for Python?

0 views
Skip to first unread message

Chris Ryland

unread,
Sep 17, 2001, 7:48:13 PM9/17/01
to
Has anyone ever built a Jar-like facility for Python, such that you
could install just two files--the Python interpreter (perhaps in DLL
form for embedding in a larger system), plus one large JAR-like file
(PAR?) containing all the standard libraries?

This would work better for my envisioned use than a freeze-like
solution. (I can explain more if needs be.)

Thanks for any thoughts, hints, pointers, etc.
--Chris Ryland, Em Software, www.emsoftware.com

Robin Becker

unread,
Sep 17, 2001, 7:59:11 PM9/17/01
to
In article <8827e15d.01091...@posting.google.com>, Chris
Ryland <c...@emsoftware.com> writes
check out installer http://www.mcmillan-inc.com/builder.html by Gordon
McMillan and http://starship.python.net/crew/theller/py2exe by Thomas
Heller both have this idea at heart.
--
Robin Becker

James C. Ahlstrom

unread,
Sep 18, 2001, 2:55:59 PM9/18/01
to
Chris Ryland wrote:
>
> Has anyone ever built a Jar-like facility for Python, such that you

This was discussed seriously a few years ago, but was never
completed. The zipfile module has a class which easily creates
jar files, and at one time there was a class in the imputil
module to import them. But imputil never became "standard".
And there is the problem of needing imputil.py to do imports,
but not being able to import it (chicken and egg). So it almost
happened, but not quite.

Jim Ahlstrom

Fredrik Lundh

unread,
Sep 18, 2001, 4:16:59 PM9/18/01
to
James C. Ahlstrom wrote:
> But imputil never became "standard".

imputil might be work in progress, but it's been shipping with
Python since (at least) version 2.0.

> And there is the problem of needing imputil.py to do imports,
> but not being able to import it (chicken and egg). So it almost
> happened, but not quite.

it sure happened: tools like PythonWorks and gordon mcmillan's
Installer can do this.

</F>


0 new messages