From 1264af58bb31eefd9397ea34f93112e8e94d2d52 Mon Sep 17 00:00:00 2001 From: Erlend Tobiassen Date: Tue, 7 May 2024 14:09:43 +0200 Subject: [PATCH 1/2] fix typing --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 19f4b93..bc7571a 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,7 @@ def package_files(*directories): "lupa >= 2.0; python_version >= '3.0'", # Modern Lupa "lupa == 1.14.1; python_version < '3.0'", # Old Lupa, may break mod loading due to different Lua version "six >= 1.16.0", - "typing", + "typing; python_version < '3.8'", "typing_extensions; python_version < '3.8'", "importlib-resources; python_version < '3.7'", "enum34; python_version < '3.4'", @@ -82,4 +82,4 @@ def package_files(*directories): "Operating System :: OS Independent", "License :: OSI Approved :: MIT License" ] -) \ No newline at end of file +) From ad19eec953afd728edd8e5a31268c5c9899de975 Mon Sep 17 00:00:00 2001 From: Erlend Tobiassen Date: Wed, 8 May 2024 18:47:06 +0200 Subject: [PATCH 2/2] Install typing package for python < 3.5 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bc7571a..88a396b 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,7 @@ def package_files(*directories): "lupa >= 2.0; python_version >= '3.0'", # Modern Lupa "lupa == 1.14.1; python_version < '3.0'", # Old Lupa, may break mod loading due to different Lua version "six >= 1.16.0", - "typing; python_version < '3.8'", + "typing; python_version < '3.5'", "typing_extensions; python_version < '3.8'", "importlib-resources; python_version < '3.7'", "enum34; python_version < '3.4'",