From: Markus Heiser <markus.heiser@darmarIT.de>
To: corbet@lwn.net
Cc: jani.nikula@intel.com, daniel.vetter@ffwll.ch,
grant.likely@secretlab.ca, mchehab@osg.samsung.com,
keithp@keithp.com, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, hverkuil@xs4all.nl, "Heiser,
Markus" <markus.heiser@darmarIT.de>
Subject: [PATCH 1/7] python: add scripts/site-packages
Date: Mon, 6 Jun 2016 18:32:19 +0200 [thread overview]
Message-ID: <1465230745-31358-2-git-send-email-markus.heiser@darmarIT.de> (raw)
In-Reply-To: <1465230745-31358-1-git-send-email-markus.heiser@darmarIT.de>
From: "Heiser, Markus" <markus.heiser@darmarIT.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@darmarIT.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
next prev parent reply other threads:[~2016-06-06 16:32 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 16:32 [PATCH 0/7] add reST/sphinx-doc to linux documentation Markus Heiser
2016-06-06 16:32 ` Markus Heiser [this message]
2016-06-06 16:32 ` [PATCH 2/7] sphinx-doc: add basic sphinx-build infrastructure Markus Heiser
2016-06-06 16:32 ` [PATCH 3/7] kernel-doc-HOWTO: add kernel-doc specification Markus Heiser
2016-06-09 18:05 ` Randy Dunlap
2016-06-09 18:42 ` Jani Nikula
2016-06-10 16:00 ` Markus Heiser
2016-06-10 16:04 ` Randy Dunlap
2016-06-06 16:32 ` [PATCH 4/7] linuxdoc: add python package linuxdoc Markus Heiser
2016-06-06 16:32 ` [PATCH 5/7] kernel-doc parser: inital python implementation Markus Heiser
2016-06-06 16:32 ` [PATCH 6/7] kernel-doc directive: initial implementation Markus Heiser
2016-06-06 16:32 ` [PATCH 7/7] flat-table " Markus Heiser
2016-06-07 7:54 ` [PATCH 0/7] add reST/sphinx-doc to linux documentation Daniel Vetter
2016-06-07 8:59 ` Jani Nikula
2016-06-07 9:36 ` Markus Heiser
2016-06-07 11:09 ` Jani Nikula
2016-06-07 15:13 ` Markus Heiser
2016-06-07 9:14 ` Markus Heiser
2016-06-08 19:49 ` Jonathan Corbet
2016-06-10 15:25 ` Markus Heiser
2016-06-10 17:19 ` Jani Nikula
2016-06-15 13:01 ` Markus Heiser
2016-06-07 13:47 ` Markus Heiser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465230745-31358-2-git-send-email-markus.heiser@darmarIT.de \
--to=markus.heiser@darmarit.de \
--cc=corbet@lwn.net \
--cc=daniel.vetter@ffwll.ch \
--cc=grant.likely@secretlab.ca \
--cc=hverkuil@xs4all.nl \
--cc=jani.nikula@intel.com \
--cc=keithp@keithp.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@osg.samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®