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


Groups > comp.lang.python > #38083

Re: pip and distutils

References <CAEigJJDnq=dOkNmB9p-R4=iTCeHGWGWuHnXLjrWQ68fjugupew@mail.gmail.com>
From Kwpolska <kwpolska@gmail.com>
Date 2013-02-02 17:49 +0100
Subject Re: pip and distutils
Newsgroups comp.lang.python
Message-ID <mailman.1297.1359823799.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Jan 28, 2013 at 10:31 PM, Vraj Mohan <r.vrajmohan@gmail.com> wrote:
> I have created a source distribution using distutils which specifies
> external packages using:
>
> setup(
>       ...,
>       requires = ['Foo (>= 0.7)', 'Bar (>= 2.4.5)'],
>       ...
>       )
>
> When I use pip to install this distribution, I find that it does not
> automatically install the packages Foo and Bar. What extra step do I
> need to perform to have pip automatically install the "required"
> packages?
>
> I am using Python 3.2.3.
>
> --Vraj
> --
> http://mail.python.org/mailman/listinfo/python-list

You should put your requirements in the requirements.txt, replaced by newlines.

Example:

Foo >= 0.7
Bar >= 2.4.5

Or something like that.
-- 
Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
stop html mail                | always bottom-post
http://asciiribbon.org        | http://caliburn.nl/topposting.html

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


Thread

Re: pip and distutils Kwpolska <kwpolska@gmail.com> - 2013-02-02 17:49 +0100

csiph-web