File: 000003-setup.py.patch

package info (click to toggle)
python-xtermcolor 1.2.1-2.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 156 kB
  • sloc: python: 188; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 1,024 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
Description: normal distutils setup
 Changes the setup.py to use the standard distutils to install,
 rather than that weird stuff that will attempt to download files.
 .
 Also removes the command xtermcolor which would require an extra package
 to be shipped correctly.
Author: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>

--- python-xtermcolor-1.2.1.orig/setup.py
+++ python-xtermcolor-1.2.1/setup.py
@@ -1,9 +1,6 @@
 import os
 
-from xtermcolor import distribute_setup
-distribute_setup.use_setuptools()
-
-from setuptools import setup
+from distutils.core import setup
 
 version = '1.2.1'
 README = os.path.join(os.path.dirname(__file__), 'README')
@@ -18,11 +15,6 @@ setup(
   packages=['xtermcolor'],
   package_data={'xtermcolor': ['distribute_setup.py']},
   install_requires=[],
-  entry_points={
-    'console_scripts': [
-      'xtermcolor = xtermcolor.Main:Cli'
-    ]
-  },
   license = "MIT",
   keywords = "xterm, ANSI, xterm-256, terminal, color",
   url = "http://github.com/broadinstitute/xtermcolor",