Documented python virtual env creation and dependencies

This commit is contained in:
dedeibel 2017-04-13 19:43:44 +02:00
parent 1449ba68e9
commit 50b2b0c5d6

View file

@ -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
--------------------