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 ?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.020
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; 'variables': 0.07; 'skip:/ 10': 0.09; 'python': 0.11; 'subject:install': 0.16; 'folder': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'library': 0.18; 'variable': 0.18; 'wed,': 0.18; 'seems': 0.21; 'appears': 0.22; '(in': 0.22; 'creating': 0.23; '31,': 0.24; 'config': 0.24; 'module,': 0.24; 'environment': 0.24; 'developers': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'generally': 0.29; 'message-id:@mail.gmail.com': 0.30; 'subject:that': 0.31; 'such.': 0.31; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'done': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'should': 0.36; 'server': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'environment.': 0.39; 'to:addr:python.org': 0.39; 'no.': 0.61; 'jul': 0.74; 'actually,': 0.84; 'skip:/ 30': 0.84; 'sufficient?': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=R6gkjP38v3ppqZuR/9XqwkzxdKQ12kjWOsRiJE6tFRQ=; b=y1WokdAX0xzV9S3kaHtQgTU7bpRt5PGZ3zSduEVSPTyBUWGm6iOSCWyfKsv/hFu18Z 4jgcrfmhkShmqb1dK4S1No9mgikedd0bejzUvh+UbJ0SC7mt8RhE26K/fskhxLlBA5pn COtkdiZKn0vJlI4LUcOTeneXH37DnmZsXoVF/Bq01ruPZqo2irED/93yvIOy38vK7ghh HR4MwojxEW8eJBxC/DZKRzmyquoMzFm1ZlS7lg0G4v+tnukLESlWUpe9g/+a/z9NeoTE mvF3obetw2po+mWuJk6WitTwdB5P9C+bc3UO1thLYh1XpioVSMf/5rGlvyawYIuuz1Xz SQ9A==
X-Received by 10.66.139.227 with SMTP id rb3mr82925756pab.121.1375289102548; Wed, 31 Jul 2013 09:45:02 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <acfe7c02-39b5-4c1d-a16d-41d00201e11a@googlegroups.com>
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 Wed, 31 Jul 2013 10:44:15 -0600
Subject Re: Is it that easy to install Python ?
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.34.1375289113.1251.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375289113 news.xs4all.nl 15976 [2001:888:2000:d::a6]:39108
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51670

Show key headers only | 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