[Python-modules-commits] [ipython4] 03/05: use setuptools also for the install target so the python*:Depends substitutions work

Gordon Ball chronitis-guest at moszumanska.debian.org
Sun Sep 17 14:30:50 UTC 2017


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

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

commit 291e562d4b14e4925d9f44f6daade890cddae34d
Author: Julien Puydt <Julien Puydt>
Date:   Fri Apr 8 12:49:16 2016 +0200

    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 9cbb0ff..60f7aa8 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

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



More information about the Python-modules-commits mailing list