Update README.md

This commit is contained in:
Mario Voigt 2024-11-27 02:27:08 +01:00
parent 757fcedf69
commit c15a1992e4

View File

@ -115,19 +115,19 @@ cat ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt | sed '/^#/d'
**On Windows this might look like:** **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\ cd %AppData%\inkscape\extensions\
git clone https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.2.git 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 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 ) ) 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. **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.
<img title="" src="./docs/images/zip-download.png" alt="" data-align="left"> <img title="" src="./docs/images/zip-download.png" alt="" data-align="left">