File: disable-console-scripts.patch

package info (click to toggle)
editorconfig-core-py 0.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 232 kB
  • sloc: python: 536; sh: 16; makefile: 5
file content (34 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download
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
28
29
30
31
32
33
34
Description: Disable installation of console scripts by Setuptools.
 .
 The existing ‘editorconfig’ package already installs the command-line programs.
 This library package should not also install them.
Author: Ben Finney <bignose@debian.org>
Last-Update: 2022-07-30

diff --git old/setup.py new/setup.py
index 297e9cf4..97029114 100644
--- old/setup.py
+++ new/setup.py
@@ -10,11 +10,6 @@ setup(
     license='python',
     description='EditorConfig File Locator and Interpreter for Python',
     long_description=open('README.rst').read(),
-    entry_points = {
-        'console_scripts': [
-            'editorconfig = editorconfig.__main__:main',
-        ]
-    },
     classifiers=[
         'License :: OSI Approved :: Python Software Foundation License',
         'Operating System :: OS Independent',


Local variables:
coding: utf-8
mode: diff
time-stamp-format: "%:y-%02m-%02d"
time-stamp-start: "^Last-Update:[ 	]+"
time-stamp-end: "$"
time-stamp-line-limit: 20
End:
vim: fileencoding=utf-8 filetype=diff :