Re: pip and distutils

Discussion in 'Python' started by Kwpolska, Feb 2, 2013.

  1. Kwpolska

    Kwpolska Guest

    On Mon, Jan 28, 2013 at 10:31 PM, Vraj Mohan <> 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
    Kwpolska, Feb 2, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. timw.google
    Replies:
    1
    Views:
    516
    Serge Orlov
    May 11, 2006
  2. Luis Alberto Zarrabeitia Gomez

    distutils, No module named numpy.distutils.fcompiler.conv_template

    Luis Alberto Zarrabeitia Gomez, Mar 30, 2009, in forum: Python
    Replies:
    0
    Views:
    1,288
    Luis Alberto Zarrabeitia Gomez
    Mar 30, 2009
  3. Nicholas Kolatsis
    Replies:
    3
    Views:
    193
    Nicholas Kolatsis
    Jan 29, 2013
  4. Vraj Mohan

    pip and distutils

    Vraj Mohan, Jan 28, 2013, in forum: Python
    Replies:
    0
    Views:
    99
    Vraj Mohan
    Jan 28, 2013
  5. Philippe Ombredanne
    Replies:
    0
    Views:
    134
    Philippe Ombredanne
    Jan 31, 2013
Loading...

Share This Page