Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can pip install a GitHub code drop?

4 views
Skip to first unread message

Phlip

unread,
Nov 15, 2009, 12:16:11 PM11/15/09
to
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

Wolodja Wentland

unread,
Nov 15, 2009, 7:11:42 PM11/15/09
to pytho...@python.org
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 <went...@cl.uni-heidelberg.de>
: :' :
`. `'` 4096R/CAF14EFC
`- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC

signature.asc

Wolodja Wentland

unread,
Nov 15, 2009, 7:39:39 PM11/15/09
to pytho...@python.org
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

signature.asc
0 new messages