From b5789c7ea7e6d1a4b67ec60fc0e4233ec543ba3a Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 17 Jul 2014 15:30:17 +0100 Subject: 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 Signed-off-by: Alexandru DAMIAN --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 5d9bc50d2..5adf4d1a3 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ pyshtables.py /bin/bitbakec *.swp tags +*.sqlite +venv/ doc/bitbake-user-manual/bitbake-user-manual.html doc/bitbake-user-manual/bitbake-user-manual.pdf doc/bitbake-user-manual/bitbake-user-manual.tgz -- cgit 1.2.3-korg