[Tutor] Modules/Setup in 2.2 source package

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Thu, 27 Dec 2001 01:09:16 -0800 (PST)

On Wed, 26 Dec 2001, Rob McGee wrote:

> I'm a little confused about Modules/Setup in Python 2.2. If I do
> nothing to it, does that mean I get none of those modules? That seems
> like an unusual amount of manual labor for configuring a package. :)

Think of it more like manual override.  The './configure' step on setting
up Python on a Unix system should autodetect everything.  The
Modules/Setup file is for unusual situations where the autodetect isn't
seeing anything.

> I'm upgrading from 2.0.1 which came with Slackware 8. I think I built
> 2.0 from source before that, and I don't recall having to do so much
> to it to make it work. But maybe that was because I didn't do much
> with it.

I remember that on older versions of Python (1.52), I had to uncomment
sections of Modules/Setup when I wanted to get Tkinter working.
Thankfully, Python configuration is a little smarter now, so you probably
don't need to touch Modules/Setup.

Good night!