diff options
| author | Scott <[email protected]> | 2022-01-10 17:49:58 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-10 17:49:58 -0800 |
| commit | 6a1cf8a4e570b34765ac946edc9dbb3cd5f146a9 (patch) | |
| tree | 4d330f79c16fbdbf861f74c63ffa9cfe3855caf8 | |
| parent | d29fd1c72456b3c81ffeccd7994c5a65c91a81ed (diff) | |
Add requirements.txt
| -rw-r--r-- | arper.py | 1 | ||||
| -rw-r--r-- | bootstrap.py | 1 | ||||
| -rwxr-xr-x | pip_install.sh | 7 | ||||
| -rw-r--r-- | requirements.txt | 24 |
4 files changed, 26 insertions, 7 deletions
@@ -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 diff --git a/bootstrap.py b/bootstrap.py index c445aef..738fcea 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -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}' diff --git a/pip_install.sh b/pip_install.sh index 1ee08c9..3982748 100755 --- a/pip_install.sh +++ b/pip_install.sh @@ -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 index 0000000..7921da6 --- /dev/null +++ b/requirements.txt @@ -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 + + |
