From ca92f15e2a5836f0734c82d786dcead732ddad22 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado Gomez" Date: Wed, 6 Apr 2022 11:31:30 +0200 Subject: Initial commit Add sources, setup.py and .gitignore Build/Install: python setup.py build python setup.py install --- setup.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 setup.py (limited to 'setup.py') 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]) -- cgit v1.2.3-18-g5258