diff --git a/README.md b/README.md index 5af75af..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! @@ -100,6 +104,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 +120,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. 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