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.
This commit is contained in:
Fernando Perez 2012-04-15 14:35:34 -07:00
commit 8e4d5e90a8

View File

@ -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: