[Python-modules-team] Bug#974120: pycodestyle: Please make pycodestyle executable

Simon McVittie smcv at debian.org
Tue Nov 10 09:15:23 GMT 2020


On Tue, 10 Nov 2020 at 09:59:19 +0100, Carlo Stemberger wrote:
> as you can see here[1] pycodestyle is intended to be use as a command
> line tool. So I think:
> 
> 0) line 1 (shebang) in /usr/lib/python3/dist-packages/pycodestyle.py
> should be fixed (python3 instead of python)
> 
> 1) /usr/lib/python3/dist-packages/pycodestyle.py should be executable
> (+x in permissions)
> 
> 2) a symlink should be added in a $PATH directory

What you are looking for appears to be the pycodestyle binary package
(apt install pycodestyle), built from the same source package as
python3-pycodestyle.

In Debian, command-line tools are often packaged in a binary package
that is separate from the library they use.

    smcv



More information about the Python-modules-team mailing list