Skip to content
Patrick Snape edited this page Jul 29, 2014 · 2 revisions

To get set up with the current master version of landmarkerio-server:

> conda create -n lmio python
> source activate lmio
(lmio) > conda install -c menpo landmarkerio-server
(lmio) > conda remove menpo
(lmio) > conda remove landmarkerio-server
(lmio) > cd dev/path
(lmio) dev/path > git clone [email protected]:menpo/menpo
(lmio) dev/path > git clone [email protected]:menpo/landmarkerio-server
(lmio) dev/path > pip install --no-deps -e ./menpo
(lmio) dev/path > pip install --no-deps -e ./landmarkerio-server
(lmio) dev/path > pip install --no-use-wheel cherrypy
(lmio) dev/path > pip install enum pathlib

Note that CherryPy's wheel installation is broken. Now we need to edit the scripts lmio, lmioserve, and lmiocache as they will check requirements and think PIL is missing. For each of these edit with your favourite text editor

> vim ~/miniconda/envs/lmio/bin/{lmio, lmiocache, lmioserve}

and remove these three lines:

- from pkg_resources import require
- require('landmarkerio==0.1.0')
- del require

After the above, see

(lmio) > lmio --help

for usage information.

Clone this wiki locally