summaryrefslogtreecommitdiffstats
path: root/superkaramba/examples/globalMouse/extension/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/examples/globalMouse/extension/setup.py')
-rw-r--r--superkaramba/examples/globalMouse/extension/setup.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/superkaramba/examples/globalMouse/extension/setup.py b/superkaramba/examples/globalMouse/extension/setup.py
new file mode 100644
index 0000000..f33f8a6
--- /dev/null
+++ b/superkaramba/examples/globalMouse/extension/setup.py
@@ -0,0 +1,12 @@
+from distutils.core import setup, Extension
+
+module1 = Extension('xcursor',
+ include_dirs = ['/usr/X11R6/include'],
+ libraries = ['X11'],
+ library_dirs = ['/usr/X11R6/lib'],
+ sources = ['xcursor.c'])
+
+setup (name = 'XMouseCursor',
+ version = '1.0',
+ description = 'Determines the position of the X mouse cursor',
+ ext_modules = [module1])