summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-01-29 17:42:16 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-01-29 17:42:16 +0100
commit5fa923620897563e21fd9c6f6bc23a066a60a3a4 (patch)
treea728c1a369dfcf62cd123c14aee067cd1ef52820 /docs
parent624ea3ec615ad82d5138eb034e7c02c79608441e (diff)
downloadpygobject-5fa923620897563e21fd9c6f6bc23a066a60a3a4.tar.gz
docs: getting_started: remove all Python 2 related instructions
Everyone should start with Python 3 nowadays.
Diffstat (limited to 'docs')
-rw-r--r--docs/getting_started.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/getting_started.rst b/docs/getting_started.rst
index eabde650..9f464908 100644
--- a/docs/getting_started.rst
+++ b/docs/getting_started.rst
@@ -40,7 +40,7 @@ and their dependencies. Follow the instructions for your platform below.
#) Follow the instructions on the page for setting up the basic environment
#) Run ``C:\msys64\mingw32.exe`` - a terminal window should pop up
#) Execute ``pacman -Suy``
-#) Execute ``pacman -S mingw-w64-i686-gtk3 mingw-w64-i686-python2-gobject mingw-w64-i686-python3-gobject``
+#) Execute ``pacman -S mingw-w64-i686-gtk3 mingw-w64-i686-python3-gobject``
#) To test that GTK+3 is working you can run ``gtk3-demo``
#) Copy the ``hello.py`` script you created to ``C:\msys64\home\<username>``
#) In the mingw32 terminal execute ``python3 hello.py`` - a window should appear.
@@ -55,7 +55,7 @@ and their dependencies. Follow the instructions for your platform below.
-------------------------------------------
1) Open a terminal
-2) Execute ``sudo apt install python-gi python-gi-cairo python3-gi python3-gi-cairo gir1.2-gtk-3.0``
+2) Execute ``sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0``
3) Change the directory to where your ``hello.py`` script can be found (e.g. ``cd Desktop``)
4) Run ``python3 hello.py``
@@ -69,7 +69,7 @@ and their dependencies. Follow the instructions for your platform below.
--------------------
1) Open a terminal
-2) Execute ``sudo dnf install pygobject3 python3-gobject gtk3``
+2) Execute ``sudo dnf install python3-gobject gtk3``
3) Change the directory to where your ``hello.py`` script can be found (e.g. ``cd Desktop``)
4) Run ``python3 hello.py``
@@ -80,7 +80,7 @@ and their dependencies. Follow the instructions for your platform below.
----------------------
1) Open a terminal
-2) Execute ``sudo pacman -S python-gobject python2-gobject gtk3``
+2) Execute ``sudo pacman -S python-gobject gtk3``
3) Change the directory to where your ``hello.py`` script can be found (e.g. ``cd Desktop``)
4) Run ``python3 hello.py``
@@ -91,7 +91,7 @@ and their dependencies. Follow the instructions for your platform below.
------------------------
1) Open a terminal
-2) Execute ``sudo zypper install python-gobject python3-gobject gtk3``
+2) Execute ``sudo zypper install python3-gobject gtk3``
3) Change the directory to where your ``hello.py`` script can be found (e.g. ``cd Desktop``)
4) Run ``python3 hello.py``
@@ -103,7 +103,7 @@ and their dependencies. Follow the instructions for your platform below.
1) Go to https://brew.sh/ and install homebrew
2) Open a terminal
-3) Execute ``brew install pygobject3 --with-python@2 gtk+3`` to install for both python2 and python3
+3) Execute ``brew install pygobject3 gtk+3``
4) Change the directory to where your ``hello.py`` script can be found (e.g. ``cd Desktop``)
5) Run ``python3 hello.py``
@@ -123,7 +123,7 @@ dependencies are present yourself as pip will only take care of pycairo.
.. code::
- virtualenv --python=python3 myvenv
+ python3 -m venv myvenv
source myvenv/bin/activate
pip install pygobject
python hello.py