From 16e138cd17d98865193666a3659957a24a48a99b Mon Sep 17 00:00:00 2001 From: Vikrum Nijjar Date: Sun, 30 Jul 2017 23:28:45 -0700 Subject: [PATCH 1/2] Update README.md Added missing dependency for Mac. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6aa92fb5d..c881f8c46 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,12 @@ Make sure you have the `shapely` python module installed. The `appdirs` python apt-get install python-shapely python-appdirs ``` +On a MacOS/Sierra you'll also need `backports.functools_lru_cache`: + +``` +sudo pip install backports.functools_lru_cache +``` + ### Extension installation 1. Clone the extension source: `git clone https://github.com/lexelby/inkscape-embroidery` 2. Install it as directed [here](https://inkscape.org/da/gallery/%3Dextension/) From e974d89e6e6502a407e63c3fd21eb6a3c2f141e4 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sat, 4 Nov 2017 20:50:05 -0400 Subject: [PATCH 2/2] rework documentation around python modules It's about time I added a proper requirements.txt. --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c881f8c46..cd7784b95 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,10 @@ First, install Inkscape if you don't have it. I highly recommend the **developm I've had success running version `0.91.0+devel+14591+61`. Installation instructions are [here](https://inkscape.org/da/release/trunk/). ### Python Dependencies -Make sure you have the `shapely` python module installed. The `appdirs` python module is also useful but is not required. On Ubuntu: +A few python modules are needed. In some cases this extension uses features that aren't available in the versions of the modules pre-packaged in distributions, so I recommend installing them directly with pip: ``` -apt-get install python-shapely python-appdirs -``` - -On a MacOS/Sierra you'll also need `backports.functools_lru_cache`: - -``` -sudo pip install backports.functools_lru_cache +pip install -r requirements.txt ``` ### Extension installation