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


Groups > comp.lang.python > #38083 > unrolled thread

Re: pip and distutils

Started byKwpolska <kwpolska@gmail.com>
First post2013-02-02 17:49 +0100
Last post2013-02-02 17:49 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#38083 — Re: pip and distutils

FromKwpolska <kwpolska@gmail.com>
Date2013-02-02 17:49 +0100
SubjectRe: pip and distutils
Message-ID<mailman.1297.1359823799.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web