mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 15:38:25 +00:00
fix: requests package dependancy for centos
This commit is contained in:
parent
75b0901af4
commit
9fe3a91605
@ -50,12 +50,18 @@ def install_bench(args):
|
||||
})
|
||||
|
||||
if success:
|
||||
dist_name, dist_version = get_distribution_info()
|
||||
if dist_name == 'centos':
|
||||
run_os_command({
|
||||
'pip': 'sudo pip install --upgrade setuptools requests cryptography pip'
|
||||
'pip': 'sudo pip install --upgrade --ignore-installed requests'
|
||||
})
|
||||
else:
|
||||
run_os_command({
|
||||
'pip': 'sudo pip install --upgrade requests'
|
||||
})
|
||||
|
||||
success = run_os_command({
|
||||
'pip': "sudo pip install --upgrade cryptography ansible"
|
||||
'pip': "sudo pip install --upgrade setuptools cryptography ansible pip"
|
||||
})
|
||||
|
||||
if not success:
|
||||
|
Loading…
x
Reference in New Issue
Block a user