spack/lib/spack
Todd Gamblin 39c9bbfbbb imports: spack uses importlib instead of imp when available
- `imp` is deprecated and seems to have started having some weird
  issues on certain Linux versions.
  - In particular, the file argument to `load_source` is ignored on
    arch linux with Python 3.7.

- `imp` is the only way to do imports in 2.6, so we'll keep it around for
  now and use it if importlib won't work.

- `importlib` is the new import system, and it allows us to get
  lower-level access to the import implementation.

- This consolidates all import logic into `spack.util.imp`, and make it
  use `importlib` if it's avialable.
2018-08-16 16:00:44 -07:00
..
docs Branch with the meson build-system (#8467) 2018-08-10 12:52:09 -05:00
env bugfix: cc handles spaces in flag variables properly 2018-08-09 08:00:22 -07:00
external pytest: add _pytest/_version.py and LICENSE 2018-06-20 14:35:10 -05:00
llnl install_tree, copy_tree can install into existing directory structures (#8289) 2018-08-15 09:30:09 -07:00
spack imports: spack uses importlib instead of imp when available 2018-08-16 16:00:44 -07:00