From bc5479d28fbf798c7c0b3b31706e38152328d5b7 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Fri, 23 Aug 2024 00:01:58 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5af75af..b7fe76e 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ cat ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt | sed '/^#/d' ``` sudo apt install python3-venv python3-full +cd ~/.config/inkscape/extensions/ git clone https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.2.git 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 @@ -115,6 +116,8 @@ 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 +#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. From 7ec563bc680e6ac46957fe11804c8d98171fdd46 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Fri, 23 Aug 2024 00:06:06 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b7fe76e..cc22406 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,13 @@ Please read this first before opening issues! This documentation does not mainta - portable - regular installation with MSI Setup - Linux - - regular installation from package manager like dnf/yum or apt - `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)` - `sudo dnf install inkscape #Fedora/CentOS` + - regular installation from package manager like dnf/yum or apt (see https://wiki.inkscape.org/wiki/Installing_Inkscape) + - Ubuntu/Kubuntu + - `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 - this was never tested. We are sorry! From 04b8dd4c5705dd5b7874ff502271013b8ba241dd Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Tue, 8 Oct 2024 11:48:37 +0200 Subject: [PATCH 3/3] Update requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index da96d34..b6d1acc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ debugpy lxml +matplotlib moderngl numpy networkx