Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51670

Re: Is it that easy to install Python ?

References <b9a2d220-1f34-4a04-842e-4ec9769d7901@googlegroups.com> <kt1fr1$vd8$1@dont-email.me> <acfe7c02-39b5-4c1d-a16d-41d00201e11a@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2013-07-31 10:44 -0600
Subject Re: Is it that easy to install Python ?
Newsgroups comp.lang.python
Message-ID <mailman.34.1375289113.1251.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jul 31, 2013 at 4:08 AM,  <santiago.diez@caoba.fr> wrote:
> OK thanks for your answers.
> So Python is not a daemon. Is it?

No.

> Does it have a config file?

Not as such.  Arbitrary site-specific customization can be done by
creating a sitecustomize module, but this is not standard.  There are
also some environment variables that you may want to consider setting
in the system profile, but none are required or generally recommended:

http://docs.python.org/2/using/cmdline.html#environment-variables

> Actually, each site on the web server is jailed in a chrooted environment.
> In the chrooted environment, Python appears to be in /usr/bin/python.
>
> If I give developers write access to a folder like /usr/lib/python/dist-packages/ (in the chrooted environment), will this be sufficient?

I don't have experience with this, but it seems to me that you should
place the standard library and site-packages in the chrooted
/usr/lib/python2.7 and then set the PYTHONHOME environment variable to
/usr/lib.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is it that easy to install Python ? santiago.diez@caoba.fr - 2013-07-25 08:11 -0700
  Re: Is it that easy to install Python ? Maarten <maarten.sneep@knmi.nl> - 2013-07-25 09:13 -0700
  Re: Is it that easy to install Python ? Matthew Lefavor <mclefavor@gmail.com> - 2013-07-25 12:15 -0400
  Re: Is it that easy to install Python ? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-07-25 18:36 +0200
    Re: Is it that easy to install Python ? Chris Angelico <rosuav@gmail.com> - 2013-07-26 02:44 +1000
  Re: Is it that easy to install Python ? Grant Edwards <invalid@invalid.invalid> - 2013-07-25 18:32 +0000
  Re: Is it that easy to install Python ? wizzofozz <oscxxxxxxxaas@gmail.com> - 2013-07-28 00:05 +0200
    Re: Is it that easy to install Python ? santiago.diez@caoba.fr - 2013-07-31 03:08 -0700
      Re: Is it that easy to install Python ? Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-31 10:44 -0600
      Re: Is it that easy to install Python ? Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-31 10:49 -0600

csiph-web