Package: ipython / 5.1.0-2~bpo8+1

0001-use-setuptools-also-for-the-install-target-so-the-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
From 74f842a50dbf87972a45073838fbf9bd0b071d06 Mon Sep 17 00:00:00 2001
From: Julien Puydt <Julien Puydt>
Date: Fri, 8 Apr 2016 12:49:16 +0200
Subject: use setuptools also for the install target so the python*:Depends
 substitutions work

Forwarded: no
---
 setup.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index d23d5eb..e8043a3 100755
--- a/setup.py
+++ b/setup.py
@@ -169,8 +169,7 @@ needs_setuptools = set(('develop', 'release', 'bdist_egg', 'bdist_rpm',
            'egg_info', 'easy_install', 'upload', 'install_egg_info',
             ))
 
-if len(needs_setuptools.intersection(sys.argv)) > 0:
-    import setuptools
+import setuptools
 
 # This dict is used for passing extra arguments that are setuptools
 # specific to setup