Add requirements.txt
authorScott <[email protected]>
Tue, 11 Jan 2022 01:49:58 +0000 (17:49 -0800)
committerScott <[email protected]>
Tue, 11 Jan 2022 01:49:58 +0000 (17:49 -0800)
arper.py
bootstrap.py
pip_install.sh
requirements.txt [new file with mode: 0644]

index 8f419f9066da415f5a85096a36740373efcfc542..c187023c98798044ac27e2b888f70ded7275ac93 100644 (file)
--- a/arper.py
+++ b/arper.py
@@ -130,7 +130,6 @@ class Arper(persistent.Persistent):
                     f'{cache_file} sucks, only {len(cached_state)} entries.  Deleting it.'
                 )
                 os.remove(cache_file)
-
         logger.debug('No usable saved state found')
         return None
 
index c445aef59895cda7147bccf556095de3a5c911a0..738fceaf39003141f08f9e39a7843c09f1239b43 100644 (file)
@@ -60,6 +60,7 @@ def handle_uncaught_exception(exc_type, exc_value, exc_tb):
     Top-level exception handler for exceptions that make it past any exception
     handlers in the python code being run.  Logs the error and stacktrace then
     maybe attaches a debugger.
+
     """
     global original_hook
     msg = f'Unhandled top level exception {exc_type}'
index 1ee08c97de1e53b6642fb356373331a32bb62f68..39827487ed6ce992cfe227c1b26683052e234568 100755 (executable)
@@ -5,9 +5,4 @@
 set -e
 
 python3 -m ensurepip --upgrade
-for x in pip wheel aiohttp antlr4-python3-runtime astral bankroll bitstring python-dateutil \
-             grpcio holidays cloudpickle dill numpy pandas protobuf psutil pyserial pytype \
-             pychromecast requests SpeechRecognition sklearn scikit-learn nltk; do
-    echo "--- Installing ${x} ---"
-    pip install -U ${x}
-done
+pip install requirements.txt
diff --git a/requirements.txt b/requirements.txt
new file mode 100644 (file)
index 0000000..7921da6
--- /dev/null
@@ -0,0 +1,24 @@
+pip install wheel
+pip install aiohttp
+pip install antlr4-python3-runtime
+pip install astral
+pip install bitstring
+pip install python-dateutil
+pip install grpcio
+pip install holidays
+pip install cloudpickle
+pip install dill
+pip install numpy
+pip install pandas
+pip install protobuf
+pip install psutil
+pip install pyserial
+pip install pytype
+pip install pychromecast
+pip install requests
+pip install SpeechRecognition
+pip install scikit-learn
+pip install nltk
+pip install meross-iot
+
+