1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/octoprint_ynh.git synced 2024-09-03 19:46:26 +02:00

Migrate to python3

This commit is contained in:
Alexis Lothoré 2020-11-15 16:00:49 +01:00
parent 04fce7382f
commit 0c9b061179

View file

@ -56,9 +56,9 @@ chown -R $app: "$home_path"
ynh_script_progression --message="Installing Octoprint in a virtual environment..."
exec_as $app -H -s /bin/bash -c " \
echo 'create the virtual environment' \
&& virtualenv "$final_path" \
&& virtualenv -p $(which python3) "$final_path" \
&& echo 'install Octoprint' \
&& "$final_path"/bin/pip install $app \
&& "$final_path"/bin/pip3 install $app \
"
# set default configuration files