Add python module (note: must be compiled seperately)
[doldaconnect.git] / lib / python / setup.py
diff --git a/lib/python/setup.py b/lib/python/setup.py
new file mode 100755 (executable)
index 0000000..e2e20d0
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/python
+
+from distutils.core import setup, Extension
+
+dolmod = Extension("dolmod", ["dolmod.c"],
+                   libraries = ["dcui"])
+
+setup(name = "dolcon",
+      version = "0.3",
+      description = "Python glue module for libdolcon",
+      ext_modules = [dolmod],
+      packages = ["dolcon"],
+      license = "GPL-2")