mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-15 02:56:37 +01:00
add typing_extensions for compatibility
This commit is contained in:
parent
c525c06480
commit
b2a877061c
3 changed files with 5 additions and 1 deletions
|
|
@ -4,3 +4,4 @@ Pillow
|
|||
qreader
|
||||
opencv-python
|
||||
pyzbar
|
||||
typing_extensions # PYTHON < 3.11: add types
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -53,7 +53,9 @@ setup(
|
|||
'qrcode',
|
||||
'Pillow',
|
||||
'qreader',
|
||||
'opencv-python'
|
||||
'pyzbar',
|
||||
'opencv-python',
|
||||
'typing_extensions' # PYTHON < 3.11: add types
|
||||
],
|
||||
|
||||
project_urls={
|
||||
|
|
|
|||
1
utils.py
1
utils.py
|
|
@ -13,6 +13,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import annotations # for compatibility with Python < 3.11
|
||||
import csv
|
||||
import glob
|
||||
import io
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue