Re: [Distutils] Reinstall with pip

2015-12-24 Thread Erik Bray
On Wed, Dec 23, 2015 at 5:23 PM, Carlos Barera  wrote:
> Hi,
>
> I have an automation task that installs a python package from within the
> project dir using: pip install .
>
> What's the right way to reinstall the same package (same version)?
> --upgrade + --force-reinstall ?
> Is --no-deps recommended ?
> How about uninstalling and reinstalling ?

I've generally had luck with

pip install --upgrade --force-reinstall --no-deps

This should automatically take care of uninstalling before
reinstalling too, so you shouldn't wind up with a broken package or
outdated files hanging around.

Erik
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] PEP 470 - Repository Side Complete

2015-12-24 Thread Donald Stufft
Just as an FYI, as the specified time has passed since the warnings specified 
in PEP 470, I went ahead and finished the implementation of PEP 470 on PyPI and 
Test PyPI. I hope to have a new version of pip out that has it’s side of that 
as well soon.

Hope everyone has a Merry Christmas!

-
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig