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


Groups > comp.lang.python > #38083

Re: pip and distutils

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <kwpolska@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'example:': 0.03; 'distutils': 0.05; 'python': 0.09; 'subject:distutils': 0.09; '...,': 0.16; 'gpg': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'specifies': 0.17; 'jan': 0.18; 'bar.': 0.22; 'external': 0.24; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'url:mailman': 0.29; 'source': 0.29; 'install': 0.29; 'that.': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'to:addr:python- list': 0.33; 'requirements': 0.33; 'received:google.com': 0.34; 'replaced': 0.35; 'pm,': 0.35; 'something': 0.35; 'created': 0.36; 'url:org': 0.36; 'should': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'perform': 0.38; 'to:addr:python.org': 0.39; 'step': 0.39; 'url:mail': 0.40; 'your': 0.60; '2013': 0.84; 'url:tk': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=85oBkAgw5YI1dTEJrtvZE/eW/hqxMsEn2+zmGulQlyM=; b=P4W3ZO5gOWDMmTvebTcJuooHVbXT0yYGMn0X+4x9gh4zI9tmzXB0peSFRUGiaDGIpo 3JeGsiL/p/mEVo+3iKjLVZ/IIJSL44w+aTdgTwIVBmy6TXfDeGLa/qaU8zDU8FX+dHJK slnCA39G7RpHBxIx3p6VkX7RBmOaK/DACzM/6r0zj+LMkn4y6eEyn8pm6tZbUuvch2Cn vR398f9vykyZZG1mMxfN08DO+z7uJduWQIxX65uAzmtj8s0X2Xzo2tuA3bDBNTN7ohYT K8SX6y1BOzdw4ffXKMlK5v1TBO3NDg0FMizAejCmYg6QfkL7Lw1c+uAwzsZst646IfVy kU7g==
X-Received by 10.50.57.166 with SMTP id j6mr1630065igq.21.1359823796792; Sat, 02 Feb 2013 08:49:56 -0800 (PST)
MIME-Version 1.0
In-Reply-To <CAEigJJDnq=dOkNmB9p-R4=iTCeHGWGWuHnXLjrWQ68fjugupew@mail.gmail.com>
References <CAEigJJDnq=dOkNmB9p-R4=iTCeHGWGWuHnXLjrWQ68fjugupew@mail.gmail.com>
From Kwpolska <kwpolska@gmail.com>
Date Sat, 2 Feb 2013 17:49:36 +0100
Subject Re: pip and distutils
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1297.1359823799.2939.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1359823799 news.xs4all.nl 6909 [2001:888:2000:d::a6]:48008
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38083

Show key headers only | 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