Re: Minimilistic Python on Linux?

2009-03-12 Thread Royce Wilson
Thanks, much better. What exactly do I lose when I launch python without site.py? On Wed, Mar 11, 2009 at 10:27 PM, Gabriel Genellina gagsl-...@yahoo.com.arwrote: En Thu, 12 Mar 2009 00:41:18 -0200, Royce Wilson rww...@gmail.com escribió: On Wed, Mar 11, 2009 at 9:33 PM, Royce Wilson

Re: Minimilistic Python on Linux?

2009-03-12 Thread Royce Wilson
Is there a way to veiw the modules without import sys? Thanks again. On Thu, Mar 12, 2009 at 1:52 PM, Royce Wilson rww...@gmail.com wrote: Thanks, much better. What exactly do I lose when I launch python without site.py? On Wed, Mar 11, 2009 at 10:27 PM, Gabriel Genellina

Re: Minimilistic Python on Linux?

2009-03-12 Thread Christian Heimes
Royce Wilson schrieb: Thanks, much better. What exactly do I lose when I launch python without site.py? Why do you want to strip Python off everything useful? A bare interpreter without the standard library isn't useful for anything. Christian --

Re: Minimilistic Python on Linux?

2009-03-12 Thread Gabriel Genellina
En Thu, 12 Mar 2009 20:39:47 -0200, Royce Wilson rww...@gmail.com escribió: Is there a way to veiw the modules without import sys? Thanks again. sys is a builtin module. You don't add any dependency by importing it, if that's your concern. -- Gabriel Genellina --

Re: Minimilistic Python on Linux?

2009-03-12 Thread Gabriel Genellina
En Thu, 12 Mar 2009 16:52:38 -0200, Royce Wilson rww...@gmail.com escribió: Thanks, much better. What exactly do I lose when I launch python without site.py? site.py completes the module search path (sys.path), adding the site-packages directory, processing .pth files, and other per-site

Minimilistic Python on Linux?

2009-03-11 Thread Royce Wilson
I'm working on a minimilistic linux project and would like to include Python. However, since Python is around 17MB (compressed) and previous releases of this linux distro are under 100MB (compressed) standard Python releases are much to large. I just need the runtime libs of Python, the absoulute

Re: Minimilistic Python on Linux?

2009-03-11 Thread Christian Heimes
Royce Wilson schrieb: I'm working on a minimilistic linux project and would like to include Python. However, since Python is around 17MB (compressed) and previous releases of this linux distro are under 100MB (compressed) standard Python releases are much to large. I just need the runtime

Re: Minimilistic Python on Linux?

2009-03-11 Thread Gabriel Genellina
En Wed, 11 Mar 2009 23:09:51 -0200, Royce Wilson rww...@gmail.com escribió: I'm working on a minimilistic linux project and would like to include Python. However, since Python is around 17MB (compressed) and previous releases of this linux distro are under 100MB (compressed) standard

Re: Minimilistic Python on Linux?

2009-03-11 Thread Royce Wilson
On Wed, Mar 11, 2009 at 9:33 PM, Royce Wilson rww...@gmail.com wrote: Thanks for the quick responses. When I view sys.modules I get this: sre_compile _collections locale _sre functools encodings site operator io __main__ copyreg _weakref abc builtins encodings.cp437 errno sre_constants re

Re: Minimilistic Python on Linux?

2009-03-11 Thread Gabriel Genellina
En Thu, 12 Mar 2009 00:41:18 -0200, Royce Wilson rww...@gmail.com escribió: On Wed, Mar 11, 2009 at 9:33 PM, Royce Wilson rww...@gmail.com wrote: Thanks for the quick responses. When I view sys.modules I get this: sre_compile _collections locale _sre functools encodings site operator io