From d69693256d3bd8202922e3784cc75daf6e39aa46 Mon Sep 17 00:00:00 2001 From: jfishzon <64330065+jfishzon@users.noreply.github.com> Date: Sun, 23 Jul 2023 19:23:02 +0300 Subject: [PATCH] Fix linux dependencies build instructions (#8324) * fix linux venv & build_kivy_deps.sh creation in docs as per issue 8305 change from: python -m virtualenv kivy_venv to: python -m venv kivy_venv change from: curl -O https://raw.githubusercontent.com/kivy/kivy/master/tools/build_linux_dependencies.sh -o build_kivy_deps.sh to: curl https://raw.githubusercontent.com/kivy/kivy/master/tools/build_linux_dependencies.sh -o build_kivy_deps.sh * Update installation.rst change from: https://virtualenv.pypa.io/en/latest/ to: https://docs.python.org/3/library/venv.html --- doc/sources/gettingstarted/installation.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/sources/gettingstarted/installation.rst b/doc/sources/gettingstarted/installation.rst index d16b9c03a..825aa7425 100644 --- a/doc/sources/gettingstarted/installation.rst +++ b/doc/sources/gettingstarted/installation.rst @@ -74,13 +74,13 @@ subsequent commands outside the virtual environment):: Create virtual environment ^^^^^^^^^^^^^^^^^^^^^^^^^^ -Create a new `virtual environment `_ +Create a new `virtual environment `_ for your Kivy project. A virtual environment will prevent possible installation conflicts with other Python versions and packages. It's optional **but strongly recommended**: #. Create the virtual environment named ``kivy_venv`` in your current directory:: - python -m virtualenv kivy_venv + python -m venv kivy_venv #. Activate the virtual environment. You will have to do this step from the current directory **every time** you start a new terminal. This sets up the environment so the new ``kivy_venv`` @@ -166,7 +166,7 @@ On **macOS**:: On **Linux**:: - curl -O https://raw.githubusercontent.com/kivy/kivy/master/tools/build_linux_dependencies.sh -o build_kivy_deps.sh + curl https://raw.githubusercontent.com/kivy/kivy/master/tools/build_linux_dependencies.sh -o build_kivy_deps.sh Make the script executable::