update_dependencies: Fix all warnings

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-18 11:04:30 -08:00
parent e1edb3fad0
commit 4667bf5a0b

View File

@@ -4,6 +4,7 @@ import subprocess
import argparse
import os
def main():
parser = argparse.ArgumentParser(
prog="update_dependencies.py",
@@ -23,15 +24,15 @@ def main():
args = parser.parse_args()
print("Installing Script Python3 Dependencies")
packages = ['pandas', 'plotly', 'numpy', 'cryptography', 'paramiko', 'bokeh','pyarrow', 'websocket-client', 'xlsxwriter',\
'pyshark', 'influxdb', 'influxdb-client', 'matplotlib', 'pdfkit', 'pip-search', 'pyserial', 'pexpect-serial' ,'scp',\
'dash', 'kaleido']
packages = ['pandas', 'plotly', 'numpy', 'cryptography', 'paramiko', 'bokeh', 'pyarrow', 'websocket-client',
'xlsxwriter', 'pyshark', 'influxdb', 'influxdb-client', 'matplotlib', 'pdfkit', 'pip-search', 'pyserial',
'pexpect-serial', 'scp', 'dash', 'kaleido']
if args.pyjwt:
packages.append('pyjwt')
else:
print('Not installing PyJWT')
packages_installed = []
packages_failed =[]
packages_failed = []
subprocess.call("pip3 uninstall jwt", shell=True)
subprocess.call('pip3 install --upgrade pip', shell=True)
for package in packages:
@@ -54,5 +55,6 @@ def main():
return
print("Packages Failed (Some scripts may not need these packages): {}".format(packages_failed))
if __name__ == "__main__":
main()