as a follow-up I hacked together a quick patch so that setup.py checks also special environment variables.
Do you think that functionality is interesting for pillow? If so I can submit a pull request. fs
diff -r 6bf5d6bf31d8 setup.py --- a/setup.py Sat Mar 16 10:26:28 2013 +0100 +++ b/setup.py Sat Mar 16 10:27:35 2013 +0100 @@ -88,6 +88,13 @@ library_dirs = [] include_dirs = [] + + library_dir = os.environ.get("PILLOW_LIBRARY_DIR") + if library_dir: + _add_directory(library_dirs, library_dir) + include_dir = os.environ.get("PILLOW_INCLUDE_DIR") + if include_dir: + _add_directory(include_dirs, include_dir) _add_directory(include_dirs, "libImaging")
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig