mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
no cache for updates
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user