dpinney / omf

The Open Modeling Framework for smart grid cost-benefit analysis.
https://omf.coop
GNU General Public License v2.0
112 stars 60 forks source link

Update requirements.txt #345

Closed mhavard999 closed 9 years ago

mhavard999 commented 9 years ago

Currently, there are two dependencies not listed in requirements.txt that are needed to get web.py up and running: pathlib and pyodbc. This pull request adds their entries to requirements.txt. So to start web.py on a fresh install all you need to do is:

$ pip install -r requirements.txt
# Pip output
...
$ cd omf
$ python web.py
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
# Success!

The entry for pyodbc looks different because its pip package is broken or not set up correctly or something. pip freeze will spit out an entry for pyodbc that looks like pyodbc==3.0.7, but if you use that in requirements.txt, pip install -r requirements.txt will fail.

dpinney commented 9 years ago

Beautiful. Thanks!