[bitbake-devel] [PATCH 6/8] document requirements for the python environment
Alex DAMIAN
alexandru.damian at intel.com
Fri Jul 18 12:15:00 UTC 2014
From: Alexandru DAMIAN <alexandru.damian at intel.com>
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 <alexandru.damian at intel.com>
---
.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 @@ 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
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..2bb07e6
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,4 @@
+Django==1.5
+South==0.8.4
+argparse==1.2.1
+wsgiref==0.1.2
--
1.9.1
More information about the bitbake-devel
mailing list