Add requirements.txt and correct the dependency list

Add a requirements file (pyscard, opencv-python, openpyxl) so users can
pip install -r requirements.txt. Remove the incorrect cryptography
dependency from the README - all crypto uses the Python standard library.
This commit is contained in:
2026-07-08 16:13:45 -07:00
parent 08c77e1124
commit 75975478f2
2 changed files with 12 additions and 3 deletions

9
requirements.txt Normal file
View File

@@ -0,0 +1,9 @@
# otp-import runtime dependencies (Python 3.9+)
# Install with: pip install -r requirements.txt
#
# All cryptography (PBKDF2, HMAC, Base32) uses the Python standard library,
# so there is no separate crypto dependency.
pyscard>=2.0 # PC/SC smartcard access (apex_otp_import.py)
opencv-python>=4.5 # QR-code decoding (qr_to_sheet.py)
openpyxl>=3.0 # reading legacy .xlsx input (apex_otp_import.py, tests)