Skip to content

Commit

Permalink
Let users upgrade pip if and when they want
Browse files Browse the repository at this point in the history
Rationale: pypa/pip#9011
  • Loading branch information
Cheaterman committed Jan 25, 2021
1 parent 0dd8972 commit bb680ee
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@
WSGI_MODULE = os.environ.get('WSGI_MODULE', 'app:app')

os.chdir('/code')
subprocess.run([
'su',
'uwsgi',
'-c',
' '.join((
'pip',
'install',
'--no-cache-dir',
'--upgrade',
'pip',
)),
], check=True)
subprocess.run([
'su',
'uwsgi',
Expand Down

0 comments on commit bb680ee

Please sign in to comment.