summaryrefslogtreecommitdiffstats
path: root/tags/t/third-party-package-in-python-dir.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/t/third-party-package-in-python-dir.tag')
-rw-r--r--tags/t/third-party-package-in-python-dir.tag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tags/t/third-party-package-in-python-dir.tag b/tags/t/third-party-package-in-python-dir.tag
new file mode 100644
index 0000000..a93aee5
--- /dev/null
+++ b/tags/t/third-party-package-in-python-dir.tag
@@ -0,0 +1,10 @@
+Tag: third-party-package-in-python-dir
+Severity: warning
+Check: languages/python
+Explanation: Third-party Python packages should install their files in
+ <code>/usr/lib/python*VERSION*/site-packages</code> for Python versions
+ before 2.6 and <code>/usr/lib/python*VERSION*/dist-packages</code>
+ for Python 2.6 and later. All other directories in
+ <code>/usr/lib/python*VERSION*</code> are for use by the core python
+ packages.
+See-Also: python-policy 2.5