def get_package_versions_and_locations():
import warnings
from _auto_deps import package_imports, deprecation_messages, \
def get_package_versions_and_locations():
import warnings
from _auto_deps import package_imports, deprecation_messages, \
def package_dir(srcfile):
return os.path.dirname(os.path.dirname(os.path.normcase(os.path.realpath(srcfile))))
def package_dir(srcfile):
return os.path.dirname(os.path.dirname(os.path.normcase(os.path.realpath(srcfile))))
warnings.filterwarnings("ignore", category=DeprecationWarning, message=msg, append=True)
for msg in user_warning_messages:
warnings.filterwarnings("ignore", category=UserWarning, message=msg, append=True)
warnings.filterwarnings("ignore", category=DeprecationWarning, message=msg, append=True)
for msg in user_warning_messages:
warnings.filterwarnings("ignore", category=UserWarning, message=msg, append=True)