This commit is contained in:
Mario Voigt 2024-10-22 22:12:52 +02:00
commit c9a8e63ac9
2 changed files with 11 additions and 3 deletions

View File

@ -59,9 +59,13 @@ Please read this first before opening issues! This documentation does not mainta
- portable - portable
- regular installation with MSI Setup - regular installation with MSI Setup
- Linux - Linux
- regular installation from package manager like dnf/yum or apt - regular installation from package manager like dnf/yum or apt (see https://wiki.inkscape.org/wiki/Installing_Inkscape)
`sudo apt install inkscape #Ubuntu/Kubuntu (you might need to add PPA first to install the latest version. Do this by sudo add-apt-repository ppa:inkscape.dev/stable)` - Ubuntu/Kubuntu
`sudo dnf install inkscape #Fedora/CentOS` - `sudo add-apt-repository universe`
- `sudo add-apt-repository ppa:inkscape.dev/stable` for stable releases or `sudo add-apt-repository ppa:inkscape.dev/trunk` for develop trunk
- `sudo apt install inkscape`
- Fedora/CentOS
- `sudo dnf install inkscape`
- MacOS - MacOS
- this was never tested. We are sorry! - this was never tested. We are sorry!
@ -100,6 +104,7 @@ cat ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt | sed '/^#/d'
``` ```
sudo apt install python3-venv python3-full sudo apt install python3-venv python3-full
cd ~/.config/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
python3 -m venv ~/.config/inkscape/extensions/mightyscape-1.2/venv python3 -m venv ~/.config/inkscape/extensions/mightyscape-1.2/venv
~/.config/inkscape/extensions/mightyscape-1.2/venv/bin/pip install --upgrade --quiet --no-cache-dir -r ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt ~/.config/inkscape/extensions/mightyscape-1.2/venv/bin/pip install --upgrade --quiet --no-cache-dir -r ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt
@ -115,6 +120,8 @@ git clone https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.2.git
cd %AppData%\..\Local\Programs\Python\Python312\Scripts cd %AppData%\..\Local\Programs\Python\Python312\Scripts
python -m pip install --upgrade pip #upgrade pip first 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 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 ) )
``` ```
**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.

View File

@ -1,5 +1,6 @@
debugpy debugpy
lxml lxml
matplotlib
moderngl moderngl
numpy numpy
networkx networkx