Patchwork [bitbake-devel,6/8] document requirements for the python environment

mail settings
Submitter Alexandru DAMIAN
Date July 18, 2014, 12:15 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/76053/
State New
Headers show


Alexandru DAMIAN - July 18, 2014, 12:15 p.m.
From: Alexandru DAMIAN <>

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 requirements.txt | xargs pip install

bitbake and Toaster will then run normally under virtualenv.

Signed-off-by: Alexandru DAMIAN <>
 .gitignore       | 2 ++
 requirements.txt | 4 ++++
 2 files changed, 6 insertions(+)
 create mode 100644 requirements.txt


diff --git a/.gitignore b/.gitignore
index 5d9bc50..5adf4d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,8 @@
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..2bb07e6
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,4 @@