[Python-modules-commits] [jupyter-notebook] 05/14: Unmask setuptools in setup.py so dependencies are detected

Gordon Ball chronitis-guest at moszumanska.debian.org
Sun Nov 12 20:26:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

chronitis-guest pushed a commit to branch master
in repository jupyter-notebook.

commit 6d06a3779889ea2fb4175829ef2c9c817d3e246e
Author: Gordon Ball <gordon at chronitis.net>
Date:   Fri Oct 28 12:02:40 2016 +0200

    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 1bab382..124eb26 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-notebook.git



More information about the Python-modules-commits mailing list