build minimal python 2.6 on linux

Diez B. Roggisch deets at nospam.web.de
Sun Nov 23 05:32:01 EST 2008


r schrieb:
> I would like to install minimal version if python 2.6 on a linux laptop
> (and no there is not one already installed...i checked)
> i have no way to access the net with the laptop.
> So basicly i down loaded the 2.6 source and unpacked it on my other
> PC.
> The files weigh in at 51MB and some change.
> Since transfer from USB on the laptop is painfully slow, and the cdrom
> is toast, i need to slim down the 2.6 source as much as possible, so
> it doesn't take 2 days to copy, and besides i don't need all this crap
> anyway.
> 
> I know right away i can lose:
> -Demo
> -Doc
> -Mac
> -IDLE
> -PC...???
> -PCbuild...???
> 
> What else can i dump to slim down to just python-Tkinter only
> note: i DO want to keep all the built-in modules.
> 
> And i know this may be asking alot but:
> where do i put the files before i run "./configure"
> does it matter what directory there in??
> any help here would be great since i am new to linux
> and have never built a python installation.
> Gracias amigos!

The real issue here are the tools neded for building. Are they there?

Out of my head: GCC, autoconf, automake, sqlite-dev, libz-dev and 
probably some more.

Maybe going with a pre-installed (or installable) python2.5 is the 
better idea, if you are so heavily constrained.

Diez



More information about the Python-list mailing list