diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-07-17 15:30:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 20:07:43 +0100 |
commit | 37d2066c83e9c29d10491f5d6f9410ce8fd6222a (patch) | |
tree | 1282c25cb67ced126085a91befeeaf291a047410 /scripts/contrib/python/generate-manifest-2.7.py | |
parent | 1b9175af3fabf12af80c8446af94078afd0832ed (diff) | |
download | poky-37d2066c83e9c29d10491f5d6f9410ce8fd6222a.tar.gz |
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 <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/python/generate-manifest-2.7.py')
0 files changed, 0 insertions, 0 deletions