Re: Replace pip installed package with latest git version?

2011-09-14 Thread Alec Taylor
Thanks, uninstalling first worked.

:D

On Thu, Sep 15, 2011 at 3:06 AM, Micky Hulse  wrote:
> On Wed, Sep 14, 2011 at 9:58 AM, Micky Hulse  
> wrote:
>> Not sure if you got an answer yet, but this is how I would do it:
>> sudo pip install --upgrade
>> git+git://github.com/jedie/python-creole.git#egg=python-creole
>
> Having read your message more closely, it sounds like you did not
> install the package originally form github? If that's the case, I
> don't think using --upgrade will be of any help. Sorry 'bout that.
>
> I suppose you would have to uninstall the original PIP version:
>
> sudo pip uninstall egg-name.egg (or just the package name)
>
> ... and then:
>
> sudo pip install -e
> git+git://github.com/jedie/python-creole.git#egg=python-creole
>
> Although, I am not sure if that is the best way to do it.
>
> Crawling back into my hole now. :)
>
> Micky
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replace pip installed package with latest git version?

2011-09-14 Thread Micky Hulse
On Wed, Sep 14, 2011 at 9:58 AM, Micky Hulse  wrote:
> Not sure if you got an answer yet, but this is how I would do it:
> sudo pip install --upgrade
> git+git://github.com/jedie/python-creole.git#egg=python-creole

Having read your message more closely, it sounds like you did not
install the package originally form github? If that's the case, I
don't think using --upgrade will be of any help. Sorry 'bout that.

I suppose you would have to uninstall the original PIP version:

sudo pip uninstall egg-name.egg (or just the package name)

... and then:

sudo pip install -e
git+git://github.com/jedie/python-creole.git#egg=python-creole

Although, I am not sure if that is the best way to do it.

Crawling back into my hole now. :)

Micky
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replace pip installed package with latest git version?

2011-09-14 Thread Micky Hulse
Hello,

On Wed, Sep 14, 2011 at 1:44 AM, Alec Taylor  wrote:
> I've installed a version of python-creole from pip. How do I upgrade
> it to the latest git version?

Not sure if you got an answer yet, but this is how I would do it:

sudo pip install --upgrade
git+git://github.com/jedie/python-creole.git#egg=python-creole

The "sudo" may or may not be required.



Hths.

Cheers,
Micky
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replace pip installed package with latest git version?

2011-09-14 Thread Alec Taylor
--editable=git+https://github.com/jedie/python-creole.git is not the right forma
t; it must have #egg=Package

On Wed, Sep 14, 2011 at 10:54 PM, One Murithi  wrote:
> pip install -e 
> On Wed, Sep 14, 2011 at 11:44 AM, Alec Taylor 
> wrote:
>>
>> Good evening,
>>
>> I've installed a version of python-creole from pip. How do I upgrade
>> it to the latest git version?
>>
>> (Windows 7 x64 SP1)
>>
>> Thanks for all suggestions,
>>
>> Alec Taylor
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>
>
-- 
http://mail.python.org/mailman/listinfo/python-list