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

Julien Cristau jcristau at moszumanska.debian.org
Fri Apr 8 11:12:59 UTC 2016


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

jcristau pushed a commit to branch master
in repository ipython4.

commit 72c0564d55d7f66d6ee2699c27bd0428d8b92cc9
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 cc4f1e6..30e5942 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