__init__.py 578 B

1234567891011121314151617181920
  1. """
  2. Unified place for determining if external dependencies are installed or not.
  3. You should import all external modules using the import_module() function.
  4. For example
  5. >>> from sympy.external import import_module
  6. >>> numpy = import_module('numpy')
  7. If the resulting library is not installed, or if the installed version
  8. is less than a given minimum version, the function will return None.
  9. Otherwise, it will return the library. See the docstring of
  10. import_module() for more information.
  11. """
  12. from sympy.external.importtools import import_module
  13. __all__ = ['import_module']