File: package-installs-python-pycache-dir.tag

package info (click to toggle)
lintian 2.130.0
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 71,852 kB
  • sloc: perl: 46,140; javascript: 9,151; makefile: 4,071; sh: 3,044; ansic: 714; xml: 518; python: 91; java: 15; cpp: 9; tcl: 4; lisp: 3
file content (11 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
Tag: package-installs-python-pycache-dir
Severity: error
Check: languages/python
See-Also: python-policy 3.7
Explanation: The package installs a __pycache__
 directory, which is normally
 only used to store compiled Python source files. Compiled Python
 source files must not be included in the package, instead they
 should be generated at installation time in the postinst.
 .
 Note this tag is issues even if the directory is empty.