diff options
author | Jose M. Guisado Gomez <guigom@riseup.net> | 2022-04-06 11:31:30 +0200 |
---|---|---|
committer | Jose M. Guisado Gomez <guigom@riseup.net> | 2022-04-06 12:56:11 +0200 |
commit | ca92f15e2a5836f0734c82d786dcead732ddad22 (patch) | |
tree | def46ce5bf1f39293bd5fe90d32d644512b1dd5a /setup.py |
Initial commit
Add sources, setup.py and .gitignore
Build/Install:
python setup.py build
python setup.py install
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 10 |
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]) |