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
This commit is contained in:
jfishzon 2023-07-23 19:23:02 +03:00 committed by GitHub
parent bce7f5b762
commit d69693256d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -74,13 +74,13 @@ subsequent commands outside the virtual environment)::
Create virtual environment
^^^^^^^^^^^^^^^^^^^^^^^^^^
Create a new `virtual environment <https://virtualenv.pypa.io/en/latest/>`_
Create a new `virtual environment <https://docs.python.org/3/library/venv.html>`_
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::