no cache for updates

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-23 12:26:38 -04:00
parent eb2b7f8612
commit 25f4438048
+2 -2
View File
@@ -168,9 +168,9 @@ def ensure_latest_self(user=False):
# Resolve user site, enable user mode automatically.
if site.ENABLE_USER_SITE and site.USER_SITE in sys.modules['pipenv'].__file__:
args = ['install', '--upgrade', 'pipenv']
args = ['install', '--upgrade', 'pipenv', '--no-cache']
else:
args = ['install', '--user', '--upgrade', 'pipenv']
args = ['install', '--user', '--upgrade', 'pipenv', '--no-cache']
sys.modules['pip'].main(args)