Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'advocate': 0.07; 'explicit': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:using': 0.09; 'python': 0.11; 'project,': 0.12; '8bit%:26': 0.16; 'filename,': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'thereby': 0.16; 'wrote:': 0.18; 'later': 0.20; 'issue.': 0.22; 'header:User-Agent:1': 0.23; 'file.': 0.24; 'header:X-Complaints- To:1': 0.27; 'installed': 0.27; 'ideal': 0.29; '3.2': 0.31; 'documenting': 0.31; 'writes:': 0.31; 'file': 0.32; 'text': 0.33; '(e.g.': 0.33; 'plain': 0.33; 'wrong': 0.37; 'operating': 0.37; 'requirements': 0.37; 'list': 0.37; 'level': 0.37; 'subject:new': 0.38; 'ben': 0.38; 'subject:needed': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'lower': 0.61; 'such': 0.63; 'more': 0.64; 'god': 0.65; 'special': 0.74; 'batchelder': 0.84; 'received:125': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: using a new computer and bringing needed libraries to it Date: Sun, 18 May 2014 17:39:58 +1000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:NpwO9LeeQVtD4xKzV3S6VBCEp1s= 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: 1400398819 news.xs4all.nl 2883 [2001:888:2000:d::a6]:38323 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71728 Rustom Mody writes: > On Sunday, May 18, 2014 5:47:05 AM UTC+5:30, Ned Batchelder wrote: > > Make a list of the [Python-specific] packages you need. Put it in a > > file called requirements.txt. […] > > What about things installed at a lower level than pip, eg apt-get? That's an important issue. Requirements of a project, such as packages that need to be installed from the operating system (e.g. “you need Python 3.2 or later for this project”), are ideal for documenting in plain human-targeted text in a document called “requirements.txt”. Which is why I advocate using a *different* filename, more explicit about its special purpose (e.g. ‘pip_requirements’), for the Pip-specific (and thereby Python-specific) machine-readable configuration file. -- \ “But Marge, what if we chose the wrong religion? Each week we | `\ just make God madder and madder.” —Homer, _The Simpsons_ | _o__) | Ben Finney