[Python-modules-commits] [ipython4] 03/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:58 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 5d56dbb68f77a074f304bd4ff3a18961c7740994
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 0662a7f..45fc2f9 100755
--- a/setup.py
+++ b/setup.py
@@ -170,8 +170,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