LudovicRousseau / pyscard

pyscard smartcard library for python
http://pyscard.sourceforge.net/
GNU Lesser General Public License v2.1
396 stars 113 forks source link

Download artifacts for Windows #147

Closed bittner closed 1 year ago

bittner commented 1 year ago

It's hard to find information about how to install pyscard for Windows.

In order for my colleagues to install software that builds on pyscard, I have started to point them to AppVeyor – until I found out today that the artifacts for even the latest build are deleted after a month.

Download the latest pyscard MSI matching your Python version from their AppVeyor in the "Artifacts" tab of the latest build, and install it.

Now I figured out that you already use GitHub Actions, and that you upload artifacts of successful Windows builds. These artifacts can be found later at the bottom of the Actions Windows Build job page, e.g.

image

In order to make finding this easier I would suggest to:

  1. Add installation or download instructions for Windows to the README (or a better-suited place in the documentation)
  2. Optionally, or alternatively, upload all artifacts, including the Windows binaries, to the release entries.
LudovicRousseau commented 1 year ago

I provide pre-build Windows binaries from pypi at https://pypi.org/project/pyscard/#files You can install them using pip.

Isn't that sufficient?

bittner commented 1 year ago

For everyone coming here in search of the MSI or EXE installer: Be aware that, depending on your Python setup, using them might cause dependency problems (e.g. ModuleNotFoundError: No module named 'smartcard').

Use python -m pip install pyscard instead for a much more stable experience.