Bug#974120: pycodestyle: Please make pycodestyle executable

2020-11-10 Thread Simon McVittie
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



Bug#974120: pycodestyle: Please make pycodestyle executable

2020-11-10 Thread Carlo Stemberger
Package: python3-pycodestyle
Version: 2.6.0-1
Severity: wishlist
File: pycodestyle

Hi,
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


Best regards,
Carlo


[1] https://pypi.org/project/pycodestyle/


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-1-rt-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pycodestyle depends on:
ii  python3  3.8.2-3

python3-pycodestyle recommends no packages.

python3-pycodestyle suggests no packages.

-- no debconf information