setup.py: use rpath to find lib/libpngtile.so
authorTero Marttila <terom@qmsk.net>
Fri, 03 Oct 2014 22:54:05 +0300
changeset 157 0d8674e64221
parent 156 01a05c807e82
child 158 bf220c415cc0
setup.py: use rpath to find lib/libpngtile.so
README
setup.cfg
--- 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
 
+
--- 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/