]> www.dolda2000.com Git - ashd.git/commitdiff
python: Made htp properly buildable from installed library.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 4 Mar 2011 19:58:22 +0000 (20:58 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 4 Mar 2011 19:58:22 +0000 (20:58 +0100)
python/htp.c
python/setup.py

index e31528e1a5b06934789eaae74990b4f198b046ed..33c03613f7b9f2919677ffb9671c16077a186880 100644 (file)
@@ -19,8 +19,8 @@
 #include <Python.h>
 #include <errno.h>
 
-#include <utils.h>
-#include <proc.h>
+#include <ashd/utils.h>
+#include <ashd/proc.h>
 
 static PyObject *p_recvfd(PyObject *self, PyObject *args)
 {
index 117ab3f6ce13b612058b767b5592093cd77b3fb2..8fbf0282b910ee32233c691a320f6d94eb2f795d 100755 (executable)
@@ -3,9 +3,7 @@
 from distutils.core import setup, Extension
 
 htlib = Extension("ashd.htlib", ["htp.c"],
-                  libraries = ["ht"],
-                  library_dirs = ["../lib/"],
-                  include_dirs = ["../lib/"])
+                  libraries = ["ht"])
 
 setup(name = "ashd-py",
       version = "0.1",