controlvault2-nfc-enable icon indicating copy to clipboard operation
controlvault2-nfc-enable copied to clipboard

Check for python dependencies

Open kalpo opened this issue 2 years ago • 2 comments

It would be great if the script would check for dependencies. I had to install pyusb for instance. Perhaps a quick check for the dependencies would be useful, even a prompt to run pip install?

kalpo avatar Mar 08 '22 10:03 kalpo

I had to install pyusb for instance.

That's point #2 in "Usage" section of README: 2. Install python3 and python3-usb.

Perhaps a quick check for the dependencies would be useful, even a prompt to run pip install?

Feel free to create a pull request with the test!

jacekkow avatar Mar 08 '22 22:03 jacekkow

That's point https://github.com/jacekkow/controlvault2-nfc-enable/pull/2 in "Usage" section of README: 2. Install python3 and python3-usb.

I can't believe I didn't see that. What a knob I am. I will get around adding the lines to check for the dependency at some point. Thanks again for making this piece of software.

kalpo avatar Mar 12 '22 13:03 kalpo