From d8b536cf29ba51b068d90f73cdb775fb74db21f1 Mon Sep 17 00:00:00 2001 From: mbonnefoy Date: Wed, 12 Oct 2016 10:32:39 +1300 Subject: [PATCH] Add info for Pycairo support and slightly reorder things --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fa3ba46ff..2549bbf7a 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,15 @@ Assuming that you built your own mapnik from source, and you have run `make inst python setup.py develop ``` -If you wish to are currently developing on mapnik-python and wish to change the code in place and immediately have python changes reflected in your environment. +If you are currently developing on mapnik-python and wish to change the code in place and immediately have python changes reflected in your environment. +``` +python setup.py install +``` + +If you wish to just install the package. + ``` python setup.py develop --uninstall ``` @@ -41,12 +47,12 @@ python setup.py develop --uninstall Will de-activate the development install by removing the `python-mapnik` entry from `site-packages/easy-install.pth`. +If you need Pycairo, make sure that PYCAIRO is set to true in your environment or run: + ``` -python setup.py install +PYCAIRO=true python setup.py develop ``` -If you wish to just install the package - ## Testing Once you have installed you can test the package by running: