biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dot2tex / remove-duplicate-script.patch
blobc67ad62224b743330637ba0cfb2292a6977f7034
1 From 98a0fbd0c4e13df98b8fb69c241665ab774fda2e Mon Sep 17 00:00:00 2001
2 From: Theodore Ni <3806110+tjni@users.noreply.github.com>
3 Date: Fri, 11 Aug 2023 21:58:14 -0700
4 Subject: [PATCH] Remove script with same name as entry point
6 ---
7 dot2tex/dot2tex | 5 -----
8 setup.py | 1 -
9 2 files changed, 6 deletions(-)
10 delete mode 100644 dot2tex/dot2tex
12 diff --git a/dot2tex/dot2tex b/dot2tex/dot2tex
13 deleted file mode 100644
14 index 278c0b3..0000000
15 --- a/dot2tex/dot2tex
16 +++ /dev/null
17 @@ -1,5 +0,0 @@
18 -#!/usr/bin/env python
19 -from .dot2tex import main
21 -if __name__ == '__main__':
22 - main()
23 diff --git a/setup.py b/setup.py
24 index d05db37..67a3ee8 100644
25 --- a/setup.py
26 +++ b/setup.py
27 @@ -21,7 +21,6 @@
28 author_email='kjellmf@gmail.com',
29 url="https://github.com/kjellmf/dot2tex",
30 py_modules=['dot2tex.dot2tex', 'dot2tex.dotparsing'],
31 - scripts=['dot2tex/dot2tex'],
32 classifiers=[
33 'Development Status :: 4 - Beta',
34 'Environment :: Console',