Show More
@@ -95,8 +95,8 b' def find_packages():' | |||||
95 | """ |
|
95 | """ | |
96 | excludes = ['deathrow', 'quarantine'] |
|
96 | excludes = ['deathrow', 'quarantine'] | |
97 | packages = [] |
|
97 | packages = [] | |
98 | for dir,subdirs,files in os.walk('IPython'): |
|
98 | for directory, subdirs,files in os.walk('IPython'): | |
99 | package = dir.replace(os.path.sep, '.') |
|
99 | package = directory.replace(os.path.sep, '.') | |
100 | if any(package.startswith('IPython.'+exc) for exc in excludes): |
|
100 | if any(package.startswith('IPython.'+exc) for exc in excludes): | |
101 | # package is to be excluded (e.g. deathrow) |
|
101 | # package is to be excluded (e.g. deathrow) | |
102 | continue |
|
102 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now