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: 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: References: From: Ian Kelly Date: Wed, 31 Jul 2013 10:44:15 -0600 Subject: Re: Is it that easy to install Python ? To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Wed, Jul 31, 2013 at 4:08 AM, 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.