From bfc0c061284a179f0b1e4193ece93d8bcfccd877 Mon Sep 17 00:00:00 2001 From: Julian Date: Mon, 10 Jul 2023 19:00:21 +1000 Subject: [PATCH] Correct sys_platform On Window, sys.platform = "win32". I think "nt" is a reference to os.name. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c0539b48c0..9ced788ea8 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ # https://github.com/kivy/buildozer/issues/722 install_reqs = [ 'appdirs', 'colorama>=0.3.3', 'jinja2', - 'sh>=1.10, <2.0; sys_platform!="nt"', + 'sh>=1.10, <2.0; sys_platform!="win32"', 'build', 'toml', 'packaging', ] # (build and toml are used by pythonpackage.py)