Commits

Anonymous committed d2da8cc

removing setuptools module names from user warnings

Comments (0)

Files changed (1)

                 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