[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jun 2016 18:32:19 +0200
From: Markus Heiser <markus.heiser@...marIT.de>
To: corbet@....net
Cc: jani.nikula@...el.com, daniel.vetter@...ll.ch,
grant.likely@...retlab.ca, mchehab@....samsung.com,
keithp@...thp.com, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, hverkuil@...all.nl,
"Heiser, Markus" <markus.heiser@...marIT.de>
Subject: [PATCH 1/7] python: add scripts/site-packages
From: "Heiser, Markus" <markus.heiser@...marIT.de>
With folder scripts/site-packages a minimal python infrastructure is
provided.
The ``site-python`` folder gather python extensions (packages and
modules). With a PYTHONPATH [1] or a sys.path [2] entry pointing to
this folder, these extensions can be imported from any python script. If
you are unfamiliar with python packages consult [3] at least.
[1] https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
[2] https://docs.python.org/3/install/#inst-search-path
[3] https://docs.python.org/3/tutorial/modules.html#packages
Signed-off-by: Markus Heiser <markus.heiser@...marIT.de>
---
scripts/site-python/.gitignore | 1 +
scripts/site-python/README | 14 ++++++++++++++
2 files changed, 15 insertions(+)
create mode 100644 scripts/site-python/.gitignore
create mode 100644 scripts/site-python/README
diff --git a/scripts/site-python/.gitignore b/scripts/site-python/.gitignore
new file mode 100644
index 0000000..0d20b64
--- /dev/null
+++ b/scripts/site-python/.gitignore
@@ -0,0 +1 @@
+*.pyc
diff --git a/scripts/site-python/README b/scripts/site-python/README
new file mode 100644
index 0000000..04ebf7b
--- /dev/null
+++ b/scripts/site-python/README
@@ -0,0 +1,14 @@
+.. -*- coding: utf-8; mode: rst -*-
+
+===========
+site-python
+===========
+
+The ``site-python`` folder gather python extensions (packages and modules).
+With a PYTHONPATH [1] or a sys.path [2] entry pointing to this folder, these
+extensions can be imported from any python script. If you are unfamiliar with
+python packages consult [3] at least.
+
+[1] https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
+[2] https://docs.python.org/3/install/#inst-search-path
+[3] https://docs.python.org/3/tutorial/modules.html#packages
--
v4.7-rc-2
Powered by blists - more mailing lists