using a new computer and bringing needed libraries to it

Chris Angelico rosuav at gmail.com
Sat May 17 20:30:26 EDT 2014


On Sun, May 18, 2014 at 10:17 AM, Ned Batchelder <ned at 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



More information about the Python-list mailing list