Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > How can pip install a GitHub code drop?

Reply
Thread Tools

How can pip install a GitHub code drop?

 
 
Phlip
Guest
Posts: n/a
 
      11-15-2009
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
 
Reply With Quote
 
 
 
 
Wolodja Wentland
Guest
Posts: n/a
 
      11-16-2009
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 <(E-Mail Removed)-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+TfkVqMjNcibOEz9UmNLMZ5MhzEsFd0OS m6aE9RSvht0eEK
E7MDFQC3sjofNNhPvMR7URtwrNMmDJNTE35tMsJqh5/HCK8q4DjjlxQohq9Pu/zZ
DkQOMhdy/ivFIiK3IllcAJt+2dxmOwp2PBxJJU1WXGRqKXs1w9smd2oXHWe TaUyC
jaTA48YuWoiGINVkNQSzxvNg23fWGdsqfRT8bVRY9LjOkz2Xqo 6xBCwk+qs3vNzy
OQmynbXu18MVM2S0RRkW8q9e1bYGvrTKESmJJZotfQ1cdmqq/AOn3sw01EjD5fsU
vlYiE51JoDGBfPRuqQJSj3IsvFahgJpvZEcNsyV8I97tHZEuRV JN/PX3xwjteCHZ
1C1ieOif4B28uofy+tpC2rfCS3qfBx6AWE+AqBjs9dsitnPutb PoSFoskWFMplIs
feNyjc+IQ9ofl6rqIo1spORRpdGDcjePejN7uks1NhsR4o+PUl Dr8+qIsRVhe9LZ
xvyZh1n4wL46vaeWbIk1Ka6GsadizIdQIgkIHQ5IgKXzoR2QMn 0zfLja1QrckNkz
loXvYcaOhj5QDFJjGLia8bw6venqjejSuuuGpTi7gWyhFso78e P3T/FVVtTQ2QBY
n86t7emXLlN7FEe0yg1v
=uY1R
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
 
Wolodja Wentland
Guest
Posts: n/a
 
      11-16-2009
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 <(E-Mail Removed)-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+Ucev lk3GKxtTh1tPOq
RWrIBIt7m6b0++ZqM/DS7ogqC/viJyCGvmYOOesOaKnOx9V9fLWS8QBJ60xNivO8
HqfKwAY3NgcOjT5r/kqKtX+vdqDiAgtrH6D/+99XwIUPoP5iiBx+Gd1sIh65CvKb
QY96yd//Ku5MXmKaTPOVQWQl6enExAE/Tei08aDFIeZUHiFdXXf7SQ0Cfa9EtdVH
REgkMOe3Y0MdhwpEGsu7oagQpIhhV/6a6WkHbqUQ5zwUBMFKc2dZkKXg3k6ZeaGY
gpjCS5kXhNMPVIEvCpKiD895rvyrOsihb7S1DLXRiVXRBwHFYm LyvvBZ5jHb3i87
838j4X0F/1/cjrWCVA29LJly+H1TvNpJT4vkvZforU5ZzyAHpnNubjR8u1NJ2 CSo
JoyOkBFtsBpVz/j3f9Afl11ftaFAiREPqunUfWZrJoJn78QHN3MBpBLKVDkf+gu/
3Iws0ABREDI+ANFC3/iW1quE/e0JSQl7FEjsFCamUSQl/NIlBD1wN8/4VVSGLv22
bMQ7NJVEY0nipENmuE/99AsW+ijB65Gc8FGPIJMycL/RfPXUO0V2EJj5lZT1bP+p
l+TOdMXZESt4INtXA4f1
=RWIz
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
pip fails to install packages on moutain loin (Mac OS 10.8.2) Peng Yu Python 3 10-18-2012 10:46 PM
install packages with pip to older Python versions Jabba Laci Python 1 09-27-2011 03:11 AM
How to run a setup command with 'pip install'? Andrei Python 1 08-25-2011 01:54 PM
pip install, permission problem Jabba Laci Python 0 03-16-2011 06:58 PM



Advertisments