Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.06 KB

File metadata and controls

47 lines (31 loc) · 1.06 KB

Open Energy Efficiency Meter

Build status

Documentation

Docs on RTD.

Installation

Execute the following command to install:

$ pip install eemeter

Testing

This library uses the py.test framework. To develop locally, clone the repo, and in a virtual environment execute the following commands:

$ git clone https://github.com/impactlab/eemeter
$ cd eemeter
$ mkvirtualenv eemeter
$ pip install scipy pytest lxml pandas xlrd sqlalchemy
$ python setup.py develop
$ py.test --runslow

You may also need to pip install psycopg2 (or another DB library) in order to use test using the weather cache.

If you run into problems with the py.test executable, please ensure that you are using the virtualenv py.test:

$ py.test --version

Some tests are slow and are skipped by default; to run these (you should!), use the --runslow flag:

$ py.test --runslow

Licence

MIT