[Tutor] python packaging systems
Bill Allen
wallenpb at gmail.com
Fri Feb 11 06:02:22 CET 2011
My main aim in packaging is simplicity of distribution to many workstations
at work. Hiding the source is not an issue. I have successfully used
cx_freeze. I did find that in some cases I have had to manually copy some
files from my Python system, usually a 3rd party import, into the
distribution folder cx_freeze creates. The error messages produced from
the code when run with missing files are mostly sufficient to work out what
files are missing.
Good information everyone. Thanks very much.
--Bill
On Thu, Feb 10, 2011 at 12:21, ALAN GAULD <alan.gauld at btinternet.com> wrote:
> Yes, but a good installer will install Python (if needed)
> and then your app in one seamless operation from the
> users point of view. Then create the launch shortcut
> in the appropriate start menu.
>
> So the user only needs to click the launch icon to
> start the app, the fact that it's a Python scri[pt v a VB
> program versus a C++ native binary should be irrelevant
>
> to them.
>
>
> Alan Gauld
> Author of the Learn To Program website
> http://www.alan-g.me.uk/
>
>
>
>
> ----- Original Message ----
> > From: Brett Ritter <swiftone at swiftone.org>
> > To: Alan Gauld <alan.gauld at btinternet.com>
> > Cc: tutor at python.org
> > Sent: Thursday, 10 February, 2011 17:26:37
> > Subject: Re: [Tutor] python packaging systems
> >
> > On Thu, Feb 10, 2011 at 11:14 AM, Alan Gauld <alan.gauld at btinternet.com>
> >wrote:
> > > Personally I don't like them and prefer to install a version of Python
> > > and then install my modules separately.
> > >
> > > If you want to hide your code(a little bit) you can ship only the pyc
> > ...
> >
> > Don't forget that the motivation need not be obfuscation. I myself
> > like to package standalone programs for non-techie friends and family
> > to use. For them, "Run this" is a good first instruction versus
> > "Install Python..." (regardless of how much their lives might be
> > improved by the latter :) )
> >
> > --
> > Brett Ritter / SwiftOne
> > swiftone at swiftone.org
> >
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110210/7a5ceec1/attachment.html>
More information about the Tutor
mailing list