1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Fix issue don't find virtualenv command

This commit is contained in:
Josué Tille 2022-06-27 17:23:44 +02:00
parent ddd514a1fa
commit dde9196c65
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -32,7 +32,7 @@ install_sources() {
ynh_setup_source --dest_dir "$final_path"
# pip installation
virtualenv --python=$(which pypy | head -n 1) "$final_path/local"
python3 -m virtualenv --python=$(which pypy | head -n 1) "$final_path/local"
# Install manually pip v20.1 because the installed version from the system don't work any more with pyp v2.7
cp -r ../sources/pip_20.1/. $final_path/local/site-packages/pip