From cbf38a81ab1634c9b87b36d6dc3ec787922fd3da Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 7 Nov 2023 10:45:29 +0100 Subject: move deps from requirements.txt to pyproject.toml --- README.md | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d0a9f96..e803073 100644 --- a/README.md +++ b/README.md @@ -9,28 +9,13 @@ energyconsumption. ``` python3 -m venv venv source venv/bin/activate -pip3 install -r requirements.txt +pip install --upgrade pip +pip install . ``` +If running `scripts/neihub.py` or `scripts/esphomeapi.py`, also run `pip install +".[esphome]"` and `pip install ".[neohub]"`. -## Handling pip - -``` -# Create requirements.txt -pip3 freeze > requirements.txt - -# Show outdated packages -pip3 list --outdated - -# Upgrade package -pip3 install -U name - -# Upgrade everything -pip3 install -U -r requirements.txt - -# Update requirements.txt -pip3 freeze > requirements.txt -``` ## Schema @@ -65,4 +50,3 @@ journalctl -fu "energyscripts-*" ## TODO: Put every state in `states`-table. Entities in an entity-table, and devices in a device-table. - -- cgit v1.2.3