mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
Merge pull request #803 from saurabh6790/mariadb_version
fix: requests package dependancy for centos
This commit is contained in:
commit
05e9fb05df
@ -50,12 +50,18 @@ def install_bench(args):
|
||||
})
|
||||
|
||||
if success:
|
||||
run_os_command({
|
||||
'pip': 'sudo pip install --upgrade setuptools requests cryptography pip'
|
||||
})
|
||||
dist_name, dist_version = get_distribution_info()
|
||||
if dist_name == 'centos':
|
||||
run_os_command({
|
||||
'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…
Reference in New Issue
Block a user