File: rename-ytcc-python-script.patch

package info (click to toggle)
ytcc 2.6.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: python: 2,875; sh: 232; makefile: 19
file content (27 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: =?utf-8?b?RnLDqWTDqXJpYyBCb25uYXJk?= <frediz@debian.org>
Date: Mon, 27 Sep 2021 09:27:05 +0200
Subject: Rename python wrapper
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

To not collide with install ytcc directory
Author: Frédéric Bonnard <frediz@debian.org>
Forwarded: not-needed
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index a4ea034..a9d2687 100755
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ setup(
     python_requires=">=3.7, <4",
     scripts=["scripts/ytccf.sh"],
     entry_points={
-        "console_scripts": ["ytcc=ytcc.cli:main"]
+        "console_scripts": ["ytcc.py=ytcc.cli:main"]
     },
     project_urls={
         "Bug Reports": 'https://github.com/woefe/ytcc/issues',