Package: jupyter-notebook / 4.2.3-4

0003-Unmask-setuptools-in-setup.py-so-dependencies-are-de.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
From 8518175080c6ff2745e68893e8927db4d5d86cbc Mon Sep 17 00:00:00 2001
From: Gordon Ball <gordon@chronitis.net>
Date: Fri, 28 Oct 2016 12:02:40 +0200
Subject: Unmask setuptools in setup.py so dependencies are detected

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

diff --git a/setup.py b/setup.py
index 9cd515a..2c27d58 100755
--- a/setup.py
+++ b/setup.py
@@ -129,8 +129,7 @@ setup_args['cmdclass'] = {
 # Handle scripts, dependencies, and setuptools specific things
 #---------------------------------------------------------------------------
 
-if any(arg.startswith('bdist') for arg in sys.argv):
-    import setuptools
+import setuptools
 
 # This dict is used for passing extra arguments that are setuptools
 # specific to setup