File: 0001-use-setuptools.patch

package info (click to toggle)
python-qtconsole 4.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,008 kB
  • ctags: 813
  • sloc: python: 5,601; makefile: 186
file content (22 lines) | stat: -rw-r--r-- 548 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
From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca@debian.org>
Date: Sun, 5 Jun 2016 18:45:13 +0200
Subject: use setuptools

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

diff --git a/setup.py b/setup.py
index 39b04be..74846e9 100644
--- a/setup.py
+++ b/setup.py
@@ -76,8 +76,7 @@ setup_args = dict(
     ],
 )
 
-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
-    import setuptools
+import setuptools
 
 setuptools_args = {}
 install_requires = setuptools_args['install_requires'] = [