diff options
author | Dan Willemsen <dwillemsen@google.com> | 2022-03-25 17:22:05 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2022-03-25 17:27:50 -0700 |
commit | adad21eb0615bb68c47628dcd4d638137c3d1a01 (patch) | |
tree | 690b5fb2994f47324dd4298e676335d4555ee267 /setuptools/windows_support.py | |
parent | 38928912f8393727122418ebb7b2b8b19f710b36 (diff) | |
download | setuptools-adad21eb0615bb68c47628dcd4d638137c3d1a01.tar.gz |
Upgrade to setuptools 61.1.0
This fixes Python 3.10 compat, but does remove Python2 compat.
Test: treehugger
Change-Id: I8e19ad8dec6b34482bfbe996413d3f793ada276c
Diffstat (limited to 'setuptools/windows_support.py')
-rw-r--r-- | setuptools/windows_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/windows_support.py b/setuptools/windows_support.py index cb977cf..1ca64fb 100644 --- a/setuptools/windows_support.py +++ b/setuptools/windows_support.py @@ -1,5 +1,4 @@ import platform -import ctypes def windows_only(func): @@ -17,6 +16,7 @@ def hide_file(path): `path` must be text. """ + import ctypes __import__('ctypes.wintypes') SetFileAttributes = ctypes.windll.kernel32.SetFileAttributesW SetFileAttributes.argtypes = ctypes.wintypes.LPWSTR, ctypes.wintypes.DWORD |