From 869e561fd4954fac4af2879c57b0c7e20f07d52b Mon Sep 17 00:00:00 2001 From: David Poirier-Quinot Date: Mon, 23 Feb 2015 00:13:59 +0100 Subject: [PATCH] modified setup.py to searc openhmd.h in /usr/local/include (for brew users) --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 20e7760..b1d1ef4 100755 --- a/setup.py +++ b/setup.py @@ -3,13 +3,13 @@ from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext - -module1 = Extension("rift", + +module1 = Extension("rift", ["pyrift.pyx", "Rift.cpp"], language="c++", libraries=["openhmd"], - include_dirs=['/usr/include/openhmd']) - + include_dirs=['/usr/include/openhmd','/usr/local/include/openhmd']) + setup(name = 'rift', version = '1.0', description = 'Python OpenHMD Wrapper',