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


Groups > comp.lang.python > #71715

Re: using a new computer and bringing needed libraries to it

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.046
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'subject:using': 0.09; 'cc:addr:python-list': 0.11; 'up-to-date': 0.14; '"keep': 0.16; '+1.': 0.16; '10:17': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'commit': 0.19; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'wonder': 0.29; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'received:google.com': 0.35; 'add': 0.35; 'there': 0.35; 'done': 0.36; 'list': 0.37; 'subject:new': 0.38; 'subject:needed': 0.38; 'called': 0.40; 'tell': 0.60; 'new': 0.61; 'you.': 0.62; 'here': 0.66; 'batchelder': 0.84; 'control;': 0.91; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=IYGtO1u9ED6akp62fr+u1iynPJyUtZ9d+1iwPFdUCNo=; b=wF3tnHZ053OtZ7shQgPj4FgBe4pbJcoazQE3yKRQivtGVZVIDgTQSCaQnCnuibE90L PooCBh70br3LDqKB4ANa0oSgzEcXAl5VI2sK2rWnrHwR9xHfxVO8w57rGL0Qk97nt/2e onG2a70NX8ZsJ2wWJLnS2LJ4Hacp34qdS3xjfkGl+KpHFKJL3NHqiDAsgBgphMPPDh/+ WobgUGT26BFGkpNJ3L8OILW1F5AQnphPyiKyEPw/z7fPB1cGoUubh12Q1e8cyM4d7VHx vkWENKAdrV3YfV3W/HCeNsGZrhAtjVWcCD7jgDycl8IucPndmmOuXhDMQHtJuWCCnvtw mDww==
MIME-Version 1.0
X-Received by 10.52.110.105 with SMTP id hz9mr4635516vdb.9.1400373026988; Sat, 17 May 2014 17:30:26 -0700 (PDT)
In-Reply-To <ll8u61$ilv$2@ger.gmane.org>
References <a7f2ad0b-b148-4807-8221-08d42fba72cd@googlegroups.com> <ll8u61$ilv$2@ger.gmane.org>
Date Sun, 18 May 2014 10:30:26 +1000
Subject Re: using a new computer and bringing needed libraries to it
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10105.1400373036.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1400373036 news.xs4all.nl 2902 [2001:888:2000:d::a6]:39098
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71715

Show key headers only | View raw


On Sun, May 18, 2014 at 10:17 AM, Ned Batchelder <ned@nedbatchelder.com> wrote:
> Make a list of the packages you need.  Put it in a file called
> requirements.txt.  Then install them with:
>
>     $ pip install -r requirements.txt
>
> Keep that file up-to-date as you add new requirements.

+1. And the "keep up-to-date" bit can be done very well with source
control; that way, you don't need to wonder whether you added one over
here or deleted one over there - the commit history will tell you.

ChrisA

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


Thread

using a new computer and bringing needed libraries to it CM <cmpython@gmail.com> - 2014-05-17 16:53 -0700
  Re: using a new computer and bringing needed libraries to it Ned Batchelder <ned@nedbatchelder.com> - 2014-05-17 20:17 -0400
    Re: using a new computer and bringing needed libraries to it Rustom Mody <rustompmody@gmail.com> - 2014-05-17 20:29 -0700
      Re: using a new computer and bringing needed libraries to it Ben Finney <ben@benfinney.id.au> - 2014-05-18 17:39 +1000
  Re: using a new computer and bringing needed libraries to it Terry Reedy <tjreedy@udel.edu> - 2014-05-17 20:29 -0400
  Re: using a new computer and bringing needed libraries to it Chris Angelico <rosuav@gmail.com> - 2014-05-18 10:30 +1000
  Pip requirements: Machine-readable configuration versus human-audience documentation (was: using a new computer and bringing needed libraries to it) Ben Finney <ben@benfinney.id.au> - 2014-05-18 12:01 +1000

csiph-web