Add python dependencies (exact versions important)

pull/96/head
Daniel Richman 2012-12-13 22:49:36 +00:00
rodzic 09c5ceef65
commit e1c0c7a1d8
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -13,7 +13,9 @@ The following items need to be executable (`chmod +x ./predict.py`) by the user
* `cron/clear-pydap-cache-cronjob.sh`
* `cron/purge-predictions-cronjob.sh`
The `predict/preds/` and `gfs/` directories need to have rwx access by the PHP interpreter and the `predict.py` python script. You will need to install the following python packages: pydap, numpy, json, simple-json. We use `at` to automatically background the predictor, so you will need that installed.
The `predict/preds/` and `gfs/` directories need to have rwx access by the PHP interpreter and the `predict.py` python script. You will need to install the python dependencies listed in requirements.txt. In the case of PyDAP, the exact version is important; the easiest way is:
$ pip install -r requirements.txt
Other than that, just clone this repo to a non web-accessible folder and create symlinks to the `predict/` directory in the repo.

5
requirements.txt 100644
Wyświetl plik

@ -0,0 +1,5 @@
Pydap==3.0.1
numpy==1.5.1
statsd-client==1.0.2
simplejson==2.1.1