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 /bitbake/toaster-requirements.txt | |
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 'bitbake/toaster-requirements.txt')
-rw-r--r-- | bitbake/toaster-requirements.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
1 | Django==1.6 | ||
2 | South==0.8.4 | ||
3 | argparse==1.2.1 | ||
4 | wsgiref==0.1.2 | ||