From 15a82d162131cc729c125e3bc769f6a03f864fea 2012-04-15 21:35:34 From: Fernando Perez Date: 2012-04-15 21:35:34 Subject: [PATCH] Merge pull request #1604 from takluyver/exclude-quarantine-package Exclude IPython.quarantine from installation. The code is still in the source tree so we can gradually revive what's useful, but there's no point in installing it for regular users since by definition it's broken. --- diff --git a/setupbase.py b/setupbase.py index 0bf0bb1..172d819 100644 --- a/setupbase.py +++ b/setupbase.py @@ -100,11 +100,11 @@ def find_packages(): """ Find all of IPython's packages. """ - excludes = ['deathrow'] + excludes = ['deathrow', 'quarantine'] packages = [] for dir,subdirs,files in os.walk('IPython'): package = dir.replace(os.path.sep, '.') - if any([ package.startswith('IPython.'+exc) for exc in excludes ]): + if any(package.startswith('IPython.'+exc) for exc in excludes): # package is to be excluded (e.g. deathrow) continue if '__init__.py' not in files: