File: no-doesitcache-script.patch

package info (click to toggle)
python-cachecontrol 0.11.7-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 196 kB
  • sloc: python: 766; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 942 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
28
29
30
31
32
33
From 6c6c029ad80c0ef44f7ccb7fb7fa2406a81837cf Mon Sep 17 00:00:00 2001
From: Barry Warsaw <barry@python.org>
Date: Mon, 31 Oct 2016 17:31:16 -0400
Subject: Edit setup.py entry_points.

Don't install the undocumented and unnecessary doesitcache script.

Patch-Name: no-doesitcache-script.patch
---
 setup.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/setup.py b/setup.py
index e8d255b..14ccf97 100644
--- a/setup.py
+++ b/setup.py
@@ -23,11 +23,11 @@ setup_params = dict(
     extras_require={
         'filecache': ['lockfile>=0.9'],
     },
-    entry_points={
-        'console_scripts': [
-            'doesitcache = cachecontrol._cmd:main',
-        ]
-    },
+    ## entry_points={
+    ##     'console_scripts': [
+    ##         'doesitcache = cachecontrol._cmd:main',
+    ##     ]
+    ## },
     classifiers=[
         'Development Status :: 4 - Beta',
         'Environment :: Web Environment',