Commit ec0118e5 authored by tarek's avatar tarek

removing setuptools module names from user warnings

--HG--
branch : distribute
extra : rebase_source : f20f663e7122029c873fde4df0b076697d3c4a44
parent 60f1dd07
......@@ -2263,7 +2263,8 @@ class Distribution(object):
or modname in _namespace_packages
):
continue
if modname in ('pkg_resources', 'setuptools', 'site'):
continue
fn = getattr(sys.modules[modname], '__file__', None)
if fn and normalize_path(fn).startswith(loc):
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment