mirror of https://github.com/openspug/spug
parent
fafbb4e36e
commit
92706334fc
|
@ -46,7 +46,7 @@ class Command(BaseCommand):
|
||||||
# update dep
|
# update dep
|
||||||
commands = [
|
commands = [
|
||||||
f'cd {settings.BASE_DIR}',
|
f'cd {settings.BASE_DIR}',
|
||||||
'pip install -r requirements.txt'
|
'pip install -r requirements.txt -i https://pypi.doubanio.com/simple/'
|
||||||
]
|
]
|
||||||
task = subprocess.Popen(' && '.join(commands), shell=True)
|
task = subprocess.Popen(' && '.join(commands), shell=True)
|
||||||
if task.wait() != 0:
|
if task.wait() != 0:
|
||||||
|
|
Loading…
Reference in New Issue