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

2014-05-18 Thread Ben Finney
Rustom Mody rustompm...@gmail.com 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

using a new computer and bringing needed libraries to it

2014-05-17 Thread CM
If I want to switch my work from one computer to a new one, and I have lots of various libraries installed on the original computer, what's the best way to switch that all to the new computer? I'm hoping there is some simple way like just copying the Python/Lib/site-packages folder, but I'm

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

2014-05-17 Thread Ned Batchelder
On 5/17/14 7:53 PM, CM wrote: If I want to switch my work from one computer to a new one, and I have lots of various libraries installed on the original computer, what's the best way to switch that all to the new computer? I'm hoping there is some simple way like just copying the

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

2014-05-17 Thread Terry Reedy
On 5/17/2014 7:53 PM, CM wrote: If I want to switch my work from one computer to a new one, and I have lots of various libraries installed on the original computer, what's the best way to switch that all to the new computer? I'm hoping there is some simple way like just copying the

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

2014-05-17 Thread Chris Angelico
On Sun, May 18, 2014 at 10:17 AM, Ned Batchelder n...@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

Pip requirements: Machine-readable configuration versus human-audience documentation (was: using a new computer and bringing needed libraries to it)

2014-05-17 Thread Ben Finney
Ned Batchelder n...@nedbatchelder.com writes: 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. Since these requirements are specifically for

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

2014-05-17 Thread Rustom Mody
On Sunday, May 18, 2014 5:47:05 AM UTC+5:30, Ned Batchelder wrote: On 5/17/14 7:53 PM, CM wrote: If I want to switch my work from one computer to a new one, and I have lots of various libraries installed on the original computer, what's the best way to switch that all to the new