From 7cd46f6842cc0e0c8279b1f1607d9ffb4acb9102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haoran=20S=2E=20Diao=20=28=E5=88=81=E6=B5=A9=E7=84=B6=29?= <0@hairydiode.xyz> Date: Wed, 5 Jul 2023 04:53:17 -0700 Subject: initial commit, includes venv --- e/lib/python3.11/site-packages/setuptools/py34compat.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 e/lib/python3.11/site-packages/setuptools/py34compat.py (limited to 'e/lib/python3.11/site-packages/setuptools/py34compat.py') diff --git a/e/lib/python3.11/site-packages/setuptools/py34compat.py b/e/lib/python3.11/site-packages/setuptools/py34compat.py new file mode 100644 index 0000000..3ad9172 --- /dev/null +++ b/e/lib/python3.11/site-packages/setuptools/py34compat.py @@ -0,0 +1,13 @@ +import importlib + +try: + import importlib.util +except ImportError: + pass + + +try: + module_from_spec = importlib.util.module_from_spec +except AttributeError: + def module_from_spec(spec): + return spec.loader.load_module(spec.name) -- cgit v1.1