[Python-modules-commits] [nose] 04/08: Don't even think about using distribute_setup to download things during build

Brian May bam at moszumanska.debian.org
Thu Nov 19 00:19:47 UTC 2015


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

bam pushed a commit to branch master
in repository nose.

commit decd72017fb1400fd4afb4bfae2dabee1d81a333
Author: Stefano Rivera <stefanor at debian.org>
Date:   Thu Oct 8 10:01:59 2015 -0700

    Don't even think about using distribute_setup to download things during build
    
    Forwarded: not-needed
    Last-Update: 2012-02-03
    
    Patch-Name: no-distribute_setup
---
 setup.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/setup.py b/setup.py
index a710b30..765b7ae 100644
--- a/setup.py
+++ b/setup.py
@@ -7,11 +7,7 @@ py_vers_tag = '-%s.%s' % sys.version_info[:2]
 test_dirs = ['functional_tests', 'unit_tests', os.path.join('doc','doc_tests'), 'nose']
 
 if sys.version_info >= (3,):
-    try:
-        import setuptools
-    except ImportError:
-        from distribute_setup import use_setuptools
-        use_setuptools()
+    import setuptools
 
     extra = {'use_2to3': True,
              'test_dirs': test_dirs,

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



More information about the Python-modules-commits mailing list