From c15a1992e4f53dc3e31a43bd8b7d4ac110f99c64 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 27 Nov 2024 02:27:08 +0100 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index de86ba8..11379c3 100644 --- a/README.md +++ b/README.md @@ -115,19 +115,19 @@ cat ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt | sed '/^#/d' **On Windows this might look like:** ``` +: Python might be installed by default to: +: %AppData%\..\Local\Programs\Python\Python312\Scripts +: we aso install pip, if not already existent +py -m ensurepip --upgrade cd %AppData%\inkscape\extensions\ git clone https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.2.git -python -m pip install --upgrade pip #upgrade pip first +: upgrade pip first +python -m pip install --upgrade pip python -m pip install --upgrade --quiet --no-cache-dir -r %AppData%\inkscape\extensions\mightyscape-1.2\requirements.txt -#use this in case the previous command failed (skip errors) +: use this in case the previous command failed (skip errors) FOR /F %k in (requirements.txt) DO ( if NOT # == %k ( python -m pip install %k ) ) ``` -Python might be installed by default to: -``` -cd %AppData%\..\Local\Programs\Python\Python312\Scripts -``` - **Note about git handling**: You can also download the whole git project as .zip or .tar.gz bundled archive and then place it to your target directory. This way you can ignore installing git on your system yet. You can convert that directory to the git-way using the [upgrade extension](https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.2/src/branch/master/extensions/fablabchemnitz/about_upgrade_mightyscape)) later on.