jleclanche / python-bna

Python implementation of the mobile Blizzard Authenticator (TOTP)
https://eu.battle.net/support/en/article/24520
MIT License
250 stars 38 forks source link

Add clear installation instructions #34

Closed saylerb closed 2 years ago

saylerb commented 2 years ago

Thanks for providing this library to use, it works well and allows me to keep my one-time passwords in one place.

I'm adding some installation instructions to make it a little faster for people who are not daily python users to use this library.

I attempted to use python -m bna to run from source, but I'm not familiar with https://python-poetry.org/ so I didn't have an easy way to install the dependencies.

Out of habit I created a virtual environment. Curious what you think.

jleclanche commented 2 years ago

Thanks for the PR! But I don't really want to recommend using venv. Poetry is straight up better and I'd rather promote its usage. It'll work fine if you use a venv of course.

Ideally, the distro can provide it. On Arch Linux for example you can install it from the aur python-bna.