How can pip install a GitHub code drop?

Discussion in 'Python' started by Phlip, Nov 15, 2009.

  1. Phlip

    Phlip Guest

    Not Hyp:

    Suppose I have a Python library, complete with a respectable setup.py.

    How can I point pip at the repo to install the library?

    if I use this...

    sudo pip -e git+git://github.com/Phlip/Kozmiq.git

    ....I get an editable drop in a ~/src/ folder.

    --
    Phlip
    http://c2.com/cgi/wiki?ZeekLand
     
    Phlip, Nov 15, 2009
    #1
    1. Advertising

  2. On Sun, Nov 15, 2009 at 09:16 -0800, Phlip wrote:
    > How can I point pip at the repo to install the library?


    > sudo pip -e git+git://github.com/Phlip/Kozmiq.git


    Make that:

    pip -e git+git://github.com/Phlip/Kozmiq.git#egg=Kozmiq

    and (preferably) don't install into system paths ;-)

    kind regards

    Wolodja
    --
    .''`. Wolodja Wentland <-heidelberg.de>
    : :' :
    `. `'` 4096R/CAF14EFC
    `- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.10 (GNU/Linux)

    iQIcBAEBCAAGBQJLAJi+AAoJEIt/fTDK8U78fOsP/A2JIj39jj9G8GJ21w538jaV
    ElXH8Fnn7Y4SZfpHf+TfkVqMjNcibOEz9UmNLMZ5MhzEsFd0OSm6aE9RSvht0eEK
    E7MDFQC3sjofNNhPvMR7URtwrNMmDJNTE35tMsJqh5/HCK8q4DjjlxQohq9Pu/zZ
    DkQOMhdy/ivFIiK3IllcAJt+2dxmOwp2PBxJJU1WXGRqKXs1w9smd2oXHWeTaUyC
    jaTA48YuWoiGINVkNQSzxvNg23fWGdsqfRT8bVRY9LjOkz2Xqo6xBCwk+qs3vNzy
    OQmynbXu18MVM2S0RRkW8q9e1bYGvrTKESmJJZotfQ1cdmqq/AOn3sw01EjD5fsU
    vlYiE51JoDGBfPRuqQJSj3IsvFahgJpvZEcNsyV8I97tHZEuRVJN/PX3xwjteCHZ
    1C1ieOif4B28uofy+tpC2rfCS3qfBx6AWE+AqBjs9dsitnPutbPoSFoskWFMplIs
    feNyjc+IQ9ofl6rqIo1spORRpdGDcjePejN7uks1NhsR4o+PUlDr8+qIsRVhe9LZ
    xvyZh1n4wL46vaeWbIk1Ka6GsadizIdQIgkIHQ5IgKXzoR2QMn0zfLja1QrckNkz
    loXvYcaOhj5QDFJjGLia8bw6venqjejSuuuGpTi7gWyhFso78eP3T/FVVtTQ2QBY
    n86t7emXLlN7FEe0yg1v
    =uY1R
    -----END PGP SIGNATURE-----
     
    Wolodja Wentland, Nov 16, 2009
    #2
    1. Advertising

  3. On Mon, Nov 16, 2009 at 01:11 +0100, Wolodja Wentland wrote:
    > On Sun, Nov 15, 2009 at 09:16 -0800, Phlip wrote:
    > > How can I point pip at the repo to install the library?


    > > sudo pip -e git+git://github.com/Phlip/Kozmiq.git


    > pip -e git+git://github.com/Phlip/Kozmiq.git#egg=Kozmiq


    err...

    pip install -e git+git://github.com/Phlip/Kozmiq.git#egg=Kozmiq
    ^^^^^^^ ^^^^^^^^^^^
    Hope it works

    --
    .''`. Wolodja Wentland <-heidelberg.de>
    : :' :
    `. `'` 4096R/CAF14EFC
    `- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.10 (GNU/Linux)

    iQIcBAEBCAAGBQJLAJ9LAAoJEIt/fTDK8U78HxYP/j9O/zYIqjgmEm84LmX4GcFm
    3vhdiorz7EujxFR6FELnCbpsas+ZASZBdOsnOw5uevje0+Ucevlk3GKxtTh1tPOq
    RWrIBIt7m6b0++ZqM/DS7ogqC/viJyCGvmYOOesOaKnOx9V9fLWS8QBJ60xNivO8
    HqfKwAY3NgcOjT5r/kqKtX+vdqDiAgtrH6D/+99XwIUPoP5iiBx+Gd1sIh65CvKb
    QY96yd//Ku5MXmKaTPOVQWQl6enExAE/Tei08aDFIeZUHiFdXXf7SQ0Cfa9EtdVH
    REgkMOe3Y0MdhwpEGsu7oagQpIhhV/6a6WkHbqUQ5zwUBMFKc2dZkKXg3k6ZeaGY
    gpjCS5kXhNMPVIEvCpKiD895rvyrOsihb7S1DLXRiVXRBwHFYmLyvvBZ5jHb3i87
    838j4X0F/1/cjrWCVA29LJly+H1TvNpJT4vkvZforU5ZzyAHpnNubjR8u1NJ2CSo
    JoyOkBFtsBpVz/j3f9Afl11ftaFAiREPqunUfWZrJoJn78QHN3MBpBLKVDkf+gu/
    3Iws0ABREDI+ANFC3/iW1quE/e0JSQl7FEjsFCamUSQl/NIlBD1wN8/4VVSGLv22
    bMQ7NJVEY0nipENmuE/99AsW+ijB65Gc8FGPIJMycL/RfPXUO0V2EJj5lZT1bP+p
    l+TOdMXZESt4INtXA4f1
    =RWIz
    -----END PGP SIGNATURE-----
     
    Wolodja Wentland, Nov 16, 2009
    #3
    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. Jabba Laci

    pip install, permission problem

    Jabba Laci, Mar 16, 2011, in forum: Python
    Replies:
    0
    Views:
    239
    Jabba Laci
    Mar 16, 2011
  2. Andrei
    Replies:
    1
    Views:
    231
    Andrei
    Aug 25, 2011
  3. Jabba Laci
    Replies:
    1
    Views:
    1,307
    alex23
    Sep 27, 2011
  4. C. Ng
    Replies:
    5
    Views:
    111
    Amirouche Boubekki
    Nov 6, 2013
  5. Roy Smith
    Replies:
    10
    Views:
    127
    Mark Lawrence
    Feb 16, 2014
Loading...

Share This Page