summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..aed3664
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,10 @@
+from setuptools import setup, Extension
+
+libfdisk = Extension('fdisk',
+ libraries = ['fdisk'],
+ sources = ['fdisk.c', 'context.c', 'label.c', 'partition.c'])
+
+setup (name = 'libfdisk',
+ version = '1.0',
+ description = 'Python bindings for libfdisk',
+ ext_modules = [libfdisk])