diff options
author | Dennis Eriksen <d@ennis.no> | 2023-11-07 10:45:29 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-11-07 10:45:29 +0100 |
commit | cbf38a81ab1634c9b87b36d6dc3ec787922fd3da (patch) | |
tree | d15bd8ce001acf6e5f88a5f12432153edd756537 /README.md | |
parent | adding .mailmap (diff) | |
download | energyscripts-cbf38a81ab1634c9b87b36d6dc3ec787922fd3da.tar.gz |
move deps from requirements.txt to pyproject.toml
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 4 insertions, 20 deletions
@@ -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. - |