aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-11-07 10:45:29 +0100
committerDennis Eriksen <d@ennis.no>2023-11-07 10:45:29 +0100
commitcbf38a81ab1634c9b87b36d6dc3ec787922fd3da (patch)
treed15bd8ce001acf6e5f88a5f12432153edd756537 /README.md
parentadding .mailmap (diff)
downloadenergyscripts-cbf38a81ab1634c9b87b36d6dc3ec787922fd3da.tar.gz
move deps from requirements.txt to pyproject.toml
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 4 insertions, 20 deletions
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.
-