From 757fcedf69f9ac2602ca13018c9765451fd8b9d7 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 27 Nov 2024 02:22:52 +0100 Subject: [PATCH] Update README.md some fix in readme --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cc22406..de86ba8 100644 --- a/README.md +++ b/README.md @@ -117,11 +117,15 @@ cat ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt | sed '/^#/d' ``` cd %AppData%\inkscape\extensions\ git clone https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.2.git -cd %AppData%\..\Local\Programs\Python\Python312\Scripts python -m pip install --upgrade pip #upgrade pip first -pip install --upgrade --quiet --no-cache-dir -r %AppData%\inkscape\extensions\mightyscape-1.2\requirements.txt +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) -FOR /F %k in (requirements.txt) DO ( if NOT # == %k ( pip install %k ) ) +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.