1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-11-09 22:06:47 +00:00

Add requirements.txt and require defusedxml.

This commit is contained in:
Markus Birth 2017-10-06 22:25:11 +02:00
parent a3b1b90874
commit 4fa9393fd6
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A
2 changed files with 5 additions and 5 deletions

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
defusedxml
numpy
requests

View File

@ -5,7 +5,6 @@
import base64
import binascii
import hashlib
import numpy
import platform
import random
import time
@ -13,11 +12,9 @@ import xml.dom.minidom
import zlib
from collections import OrderedDict
from math import floor
try:
from defusedxml import ElementTree
except (ImportError, AttributeError):
from xml.etree import ElementTree
import numpy
import requests
from defusedxml import ElementTree
ANSI_UP_DEL = u"\u001b[F\u001b[K"
ANSI_RED = u"\u001b[1;31m"