From 50b2b0c5d6ccf05ff41b69cfdd8b5c120a946a8d Mon Sep 17 00:00:00 2001 From: dedeibel Date: Thu, 13 Apr 2017 19:43:44 +0200 Subject: [PATCH] Documented python virtual env creation and dependencies --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a32dfbf..d42a4d2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Yes! That's what I want! ------------------------ Okay, let's go. - - Install python3, python3-lxml, python3-cssutils, inkscape and libav-tools + - Install python3, python3-lxml, python3-cssutils (or use virtualenv, see below), inkscape and libav-tools - Fork this repo on github and clone your personal fork to your local system. - Copy one of the existing setup: 00_example_render_byid - If you are using a newer version of intro-outro-generator, don't copy any of the other projects, as the __init.py__ may not contain all mandatory parameters in the tasks function. @@ -35,6 +35,24 @@ Okay, let's go. - Viewing through those pngs to check if all intros are looking good with the real-world titles- and person-names - Viewing through the pngs is faster then opening each clip and waiting 5 seconds. +#### Python3 virtualenv + +Create virtualenv and fetch python deps: + +``` +$ virtualenv -p python3 env +$ . ./env/bin/activate +$ pip3 install -r requirements.txt +``` + +##### Debian + +On debian, for python lxml dependencies: + +``` +sudo apt-get install libxml2-dev libxslt1-dev +``` + Quick start --------------------