From 37d2066c83e9c29d10491f5d6f9410ce8fd6222a Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 17 Jul 2014 15:30:17 +0100 Subject: bitbake: toaster-requirements.txt: document requirements for the python environment Since Toaster adds a number of specific requirements managed by pip, we document these requirements in order to be able to run bitbake and toaster under virtualenv. The target here is to break the dependency on distro packages for specific python libraries. In order to start bitbake/Toaster in a distro-independent manner, we use virtualenv and pip. We add venv to the .gitignore list to make room for the virtualenv deployment in this directory. Use this command sequence to setup the virtualenv: $ virtualenv venv $ . venv/bin/activate $ cat toaster-requirements.txt | xargs pip install bitbake and Toaster will then run normally under virtualenv. We also fix bugs related to toaster starting in managed mode through this script: * toaster will not use bldcontrol application in interactive mode * a proper message will be displayed if toaster detects a managed start request in a build environment (Bitbake rev: b5789c7ea7e6d1a4b67ec60fc0e4233ec543ba3a) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/toaster-requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 bitbake/toaster-requirements.txt (limited to 'bitbake/toaster-requirements.txt') diff --git a/bitbake/toaster-requirements.txt b/bitbake/toaster-requirements.txt new file mode 100644 index 0000000000..19b5293722 --- /dev/null +++ b/bitbake/toaster-requirements.txt @@ -0,0 +1,4 @@ +Django==1.6 +South==0.8.4 +argparse==1.2.1 +wsgiref==0.1.2 -- cgit v1.2.3-54-g00ecf