From 2fd74fb574416eb2ad0c47ddefcc5849e23c0f17 Mon Sep 17 00:00:00 2001 From: Jesus Lopez Date: Wed, 13 Jul 2011 16:52:10 -0700 Subject: [PATCH] Updated setup.py to support MacPorts --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index beaa7de..721c598 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ module1 = Extension('GeoIP', libraries = ['GeoIP'], sources = ['py_GeoIP.c'], - library_dirs = ['/usr/local/lib'], - include_dirs = ['/usr/local/include']) + library_dirs = ['/opt/local/lib', '/usr/local/lib'], + include_dirs = ['/opt/local/include', '/usr/local/include']) setup (name = 'GeoIP-Python', version = '1.2.4',