From e5e9d99b3eecc9ddacbaa2955e14931d8a42240d Mon Sep 17 00:00:00 2001 From: ghubstan <36207203+ghubstan@users.noreply.github.com> Date: Mon, 30 May 2022 15:19:38 -0300 Subject: [PATCH] Show how to install tkinter on Fedora with dfn pkg mgr --- python-examples/run-setup.sh | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/python-examples/run-setup.sh b/python-examples/run-setup.sh index f62dc61..baeee40 100755 --- a/python-examples/run-setup.sh +++ b/python-examples/run-setup.sh @@ -2,20 +2,32 @@ # This script must be run from this directory. +#################################################################################### # Install python3-venv if necessary. -# For systems using the apt package manager, uncomment the line -# below, or install the equivalent package for your system. +#################################################################################### + +# If using the apt package manager on Ubuntu, uncomment line below to install venv. # sudo apt install python3-venv +# If using the dnf package manager on Fedora, you should already have venv installed +# with Python3. + +#################################################################################### # Install python3 tkinter if necessary. +#################################################################################### -# If using the apt package manager, uncomment line below to install tkinter. +# If using the apt package manager on Ubuntu, uncomment line below to install tkinter. # sudo apt-get install python3-tk -# If using Mac OS / brew, uncomment line below to install tkinter. +# If using the dnf package manager on Fedora, uncomment line below to install tkinter. +# sudo dnf install python3-tkinter + +# If using brew on Mac OS, uncomment line below to install tkinter. # brew install python-tk +#################################################################################### # Install pip, then Python setuptools if necessary. +#################################################################################### # pip install setuptools # Download the Bisq protobuf definition files from the Bisq repository. @@ -44,3 +56,4 @@ echo "Generating gRPC Python service stubs..." # Install API example packages in myvenv. echo "Installing example code packages in virtual environment..." pip install . +