Re: [Distutils] Reinstall with pip
Thanks! I'll give it a try. On Thu, Dec 24, 2015 at 9:13 PM, Erik Bray wrote: > 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
Re: [Distutils] Reinstall with pip
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] Reinstall with pip
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 ? Cheers, Carlos ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig