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


Groups > comp.lang.python > #71728

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

From Ben Finney <ben@benfinney.id.au>
Subject Re: using a new computer and bringing needed libraries to it
Date 2014-05-18 17:39 +1000
References <a7f2ad0b-b148-4807-8221-08d42fba72cd@googlegroups.com> <mailman.10102.1400372406.18130.python-list@python.org> <a52840b3-448d-43ec-94f0-8b53c7b9a619@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.10111.1400398819.18130.python-list@python.org> (permalink)

Show all headers | View raw


Rustom Mody <rustompmody@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 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

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