Package: python-xtermcolor / 1.2.1-2.1

000003-setup.py.patch Patch series | 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
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",