[Python-modules-commits] [nbformat] 02/07: Use setuptools for all targets so python*:Depends substitutions work

Gordon Ball chronitis-guest at moszumanska.debian.org
Mon Aug 28 21:45:47 UTC 2017


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

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

commit 50cc84ceb4220c74dcc467e61a7e64f086e624ed
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Oct 6 07:51:30 2015 +0200

    Use setuptools for all targets so 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 f85f30a..161b16d 100644
--- a/setup.py
+++ b/setup.py
@@ -83,8 +83,7 @@ setup_args = dict(
     ],
 )
 
-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
-    import setuptools
+import setuptools
 
 setuptools_args = {}
 install_requires = setuptools_args['install_requires'] = [

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



More information about the Python-modules-commits mailing list