[Tutor] Putting a Bow on It

Chip Wachob wachobc at gmail.com
Mon Feb 11 11:36:20 EST 2019


Mats,

You put just the right words to my difficulties.  Thank you.

Since I last posted, I attempted to use Setuptools, and got a handful of
files that were less than 1kB.  I also attempted to use py2exe (I know this
is only for Windoze, but I wanted to find some sliver of success) and
py2exe does not like the fact that I have Python 2.7.15 installed (which I
am locked to).  I tried using pip to install py2exe==0.6.9 (a version that
says it supports Python 2.7) but pip is telling me that it can't find any
version of Python 2.7.

I'm trying to make the installation of the script / executable as simple as
possible because I know those who will be using it will NOT be Python savvy
in the remotest way.

Thanks for confirming that I'm not simply going mad...

Best,


On Mon, Feb 11, 2019 at 11:30 AM Mats Wichmann <mats at wichmann.us> wrote:

> On 2/11/19 6:48 AM, Chip Wachob wrote:
> > Thanks.  These are both great helps to get me started.
> >
> > The little bit of searching does leave me a little bit confused, but the
> > reference to the book is somewhat helpful / encouraging.
> >
> > I see a lot of people saying that certain approaches have been
> depreciated,
> > then re-appreciated (?) then depreciated once more and so on..  that sure
> > makes it confusing to me.  Unfortunately since I'm using someone's
> pre-made
> > libraries, and that requires 2.7, I'm sort of locked at that version, but
> > it seems like most, if not all, of these options will work for any
> version
> > of Python.
> >
> > These posts give me some keywords that should help me narrow the field a
> > bit.
> >
> > I realize that choosing a tool is always a case of personal preference.
> I
> > don't want to start a 'this is better than that' debate.
> >
> > If the 'pros' out there have more input, I'm all ears.
>
> I'm having the same problems, everybody seems to have an idea of what is
> state of the art, and they don't often agree. And sadly, people do not
> always date their blog entries so you can eliminate what is too old to
> be useful to a "newbie" (a category I fall into with packaging)
>
> There are really two classes of solution:
>
> base tools for manually packaging.  The Python Packaging Authority is
> supposed to be definitive for what the state of these is.
>
> smart systems which automate some or all of the steps.  These are often
> labeled with some sort of hypelabel - Python packaging finally done
> right or some such.  (I've tried a couple and they have failed utterly
> for the project I want to redo the packaging on. My impression is these
> will usually fail if your project is not meant to be imported)
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list