summaryrefslogtreecommitdiffstats
path: root/tags/p/package-installs-python-bytecode.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/p/package-installs-python-bytecode.tag')
-rw-r--r--tags/p/package-installs-python-bytecode.tag7
1 files changed, 7 insertions, 0 deletions
diff --git a/tags/p/package-installs-python-bytecode.tag b/tags/p/package-installs-python-bytecode.tag
new file mode 100644
index 0000000..65e5325
--- /dev/null
+++ b/tags/p/package-installs-python-bytecode.tag
@@ -0,0 +1,7 @@
+Tag: package-installs-python-bytecode
+Severity: error
+Check: languages/python
+See-Also: python-policy 3.7
+Explanation: Compiled Python source files must not be included in the package.
+ These files should be removed from the package and created at package
+ installation time in the postinst.