summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* context: rename parts to partitionsJose M. Guisado Gomez2022-04-281-2/+2
|
* fdisk.c: add partition module objectJose M. Guisado Gomez2022-04-262-0/+2
| | | | | | | | | | | | | | | | Call Partition_AddModuleObject when initializing the python module. Fixes bug when using the Partition class but the class has not been added to the module via Py_TypeReady. A common error was the type not being ready (missing attributes): >>> for pa in cxt.parts: ... print(pa.partno) ... Traceback (most recent call last): File "<stdin>", line 2, in <module> AttributeError: 'libfdisk.Partition' object has no attribute 'partno'
* Add COPYING and license headersJose M. Guisado Gomez2022-04-076-0/+562
| | | | LGPL2.1 or later.
* Add MANIFEST.inJose M. Guisado Gomez2022-04-061-0/+1
| | | | Add MANIFEST.in to include .h files in source distributions.
* Initial commitJose M. Guisado Gomez2022-04-067-0/+796
Add sources, setup.py and .gitignore Build/Install: python setup.py build python setup.py install