mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
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:
commit
8e4d5e90a8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user