Commits

tarek  committed d2da8cc

removing setuptools module names from user warnings

  • Participants
  • Parent commits 55613bf

Comments (0)

Files changed (1)

File pkg_resources.py

                 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