Mercurial > repos > guerler > hhblits
comparison lib/python3.8/site-packages/setuptools/py34compat.py @ 0:9e54283cc701 draft
"planemo upload commit d12c32a45bcd441307e632fca6d9af7d60289d44"
author | guerler |
---|---|
date | Mon, 27 Jul 2020 03:47:31 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9e54283cc701 |
---|---|
1 import importlib | |
2 | |
3 try: | |
4 import importlib.util | |
5 except ImportError: | |
6 pass | |
7 | |
8 | |
9 try: | |
10 module_from_spec = importlib.util.module_from_spec | |
11 except AttributeError: | |
12 def module_from_spec(spec): | |
13 return spec.loader.load_module(spec.name) |