Skip to content

Commit

Permalink
Fix #133 and support Python 3.10
Browse files Browse the repository at this point in the history
Fixes #133 and provides support for automatic installation using "pip install python-pkcs11" in Python 3.10. 

Tested on Windows 11, multiple conda virtual env.
  • Loading branch information
joseavegaa authored Jul 2, 2022
1 parent 470486e commit 6372492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

# if compiling using MSVC, we need to link against user32 library
if platform.system() == 'Windows':
libraries = ('user32',)
libraries = ['user32',]
else:
libraries = ()
libraries = []

if __name__ == '__main__':
with \
Expand Down

0 comments on commit 6372492

Please sign in to comment.