Skip to content

Commit

Permalink
Fixed install error on Windows with Pyhton 3.8+
Browse files Browse the repository at this point in the history
Details:

* Fixed install error of keyring's dependency pywin32-ctypes on Windows with
  Python 3.8 and higher, which fails due to using the use_2to3 feature of
  setuptools, which has been removed in setuptools 58.0.0.
  Ths fix is to increase the requirements for pywin32-ctypes to >=0.2.0, which
  no longer uses the use_2to3 feature.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Dec 11, 2022
1 parent d706a01 commit 5343f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -19,7 +19,7 @@ packages = find_namespace:
include_package_data = true
python_requires = >=3.7
install_requires =
pywin32-ctypes!=0.1.0,!=0.1.1; sys_platform=="win32"
pywin32-ctypes>=0.2.0; sys_platform=="win32"
SecretStorage>=3.2; sys_platform=="linux"
jeepney>=0.4.2; sys_platform=="linux"
importlib_metadata >= 4.11.4; python_version < "3.12"
Expand Down

0 comments on commit 5343f04

Please sign in to comment.