diff --git a/setupbase.py b/setupbase.py index e6330ea..ac2acc0 100644 --- a/setupbase.py +++ b/setupbase.py @@ -95,9 +95,9 @@ def find_packages(): """ excludes = ['deathrow', 'quarantine'] packages = [] - for directory, subdirs,files in os.walk('IPython'): - package = directory.replace(os.path.sep, '.') - if any(package.startswith('IPython.'+exc) for exc in excludes): + for directory, subdirs, files in os.walk("IPython"): + package = directory.replace(os.path.sep, ".") + 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: