Browse Source

Move dependencies into requirements.txt

tags/nilmdb-2.0.0
Jim Paris 3 years ago
parent
commit
7252e40c2d
2 changed files with 15 additions and 10 deletions
  1. +2
    -10
      README.txt
  2. +13
    -0
      requirements.txt

+ 2
- 10
README.txt View File

@@ -6,16 +6,8 @@ Prerequisites:
# Runtime and build environments
sudo apt install python3.7 python3.7-dev python3-pip

# Base NilmDB dependencies
sudo pip3 install cherrypy decorator simplejson requests
sudo pip3 install python-dateutil tz progressbar psutil
sudo pip3 install python-datetime-tz

# Other dependencies (required by some modules)
sudo pip3 install numpy

# Tools for running tests
sudo pip3 install nose coverage
# Install NilmDB dependencies
pip3 install -r requirements.txt

Test:
python3 setup.py nosetests


+ 13
- 0
requirements.txt View File

@@ -0,0 +1,13 @@
CherryPy==18.1.2
coverage==4.5.4
decorator==4.4.0
fallocate==1.6.4
nose==1.3.7
numpy==1.17.0
progressbar==2.5
psutil==5.6.3
python-datetime-tz==0.5.4
python-dateutil==2.8.0
requests==2.22.0
simplejson==3.16.0
tz==0.2.2

Loading…
Cancel
Save