mirror of https://github.com/kivy/kivy.git
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:
parent
bce7f5b762
commit
d69693256d
|
@ -74,13 +74,13 @@ subsequent commands outside the virtual environment)::
|
||||||
Create 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
|
for your Kivy project. A virtual environment will prevent possible installation conflicts
|
||||||
with other Python versions and packages. It's optional **but strongly recommended**:
|
with other Python versions and packages. It's optional **but strongly recommended**:
|
||||||
|
|
||||||
#. Create the virtual environment named ``kivy_venv`` in your current directory::
|
#. 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
|
#. 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``
|
**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**::
|
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::
|
Make the script executable::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue