# HG changeset patch # User Tero Marttila # Date 1412366045 -10800 # Node ID 0d8674e642216cf310b11f67ed69ecf8edb35a87 # Parent 01a05c807e82f57fbb6aa8bdc9aee53aae0506be setup.py: use rpath to find lib/libpngtile.so diff -r 01a05c807e82 -r 0d8674e64221 README --- a/README Fri Oct 03 22:52:35 2014 +0300 +++ b/README Fri Oct 03 22:54:05 2014 +0300 @@ -77,8 +77,14 @@ * python-cython * python-dev -## Build +## Development $ python setup.py build_ext +## Install + + $ make install PREFIX=/opt/pngtile + $ /opt/pngtile/bin/python setup.py build_ext -I /opt/pngtile/include -L /opt/pngtile/lib -R /opt/pngtile/lib + $ /opt/pngtile/bin/python setup.py install + diff -r 01a05c807e82 -r 0d8674e64221 setup.cfg --- a/setup.cfg Fri Oct 03 22:52:35 2014 +0300 +++ b/setup.cfg Fri Oct 03 22:54:05 2014 +0300 @@ -1,4 +1,6 @@ [build_ext] -build-lib = lib/ include-dirs = include/ library-dirs = lib/ +build-lib = lib/ +build-temp = build/ +rpath = lib/