__init__.py 751 B

12345678910111213141516171819202122
  1. """ This sub-module is private, i.e. external code should not depend on it.
  2. These functions are used by tests run as part of continuous integration.
  3. Once the implementation is mature (it should support the major
  4. platforms: Windows, OS X & Linux) it may become official API which
  5. may be relied upon by downstream libraries. Until then API may break
  6. without prior notice.
  7. TODO:
  8. - (optionally) clean up after tempfile.mkdtemp()
  9. - cross-platform testing
  10. - caching of compiler choice and intermediate files
  11. """
  12. from .compilation import compile_link_import_strings, compile_run_strings
  13. from .availability import has_fortran, has_c, has_cxx
  14. __all__ = [
  15. 'compile_link_import_strings', 'compile_run_strings',
  16. 'has_fortran', 'has_c', 'has_cxx',
  17. ]