Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- # Copyright (c) 2016 Claudiu Popa <pcmanticore@gmail.com>
-
- try:
- import pkg_resources
- except ImportError:
- pkg_resources = None
-
-
- def is_namespace(modname):
- # pylint: disable=no-member; astroid issue #290, modifying globals at runtime.
- return (pkg_resources is not None
- and modname in pkg_resources._namespace_packages)
|