Skip to content

Commit 403cf8a

Browse files
authored
Correct sys_platform (#2852)
On Window, sys.platform = "win32". I think "nt" is a reference to os.name.
1 parent 4ebd3a8 commit 403cf8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# https://github.com/kivy/buildozer/issues/722
2222
install_reqs = [
2323
'appdirs', 'colorama>=0.3.3', 'jinja2',
24-
'sh>=1.10, <2.0; sys_platform!="nt"',
24+
'sh>=1.10, <2.0; sys_platform!="win32"',
2525
'build', 'toml', 'packaging',
2626
]
2727
# (build and toml are used by pythonpackage.py)

0 commit comments

Comments
 (0)