Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use c99 struct initialization | Jose M. Guisado Gomez | 2022-04-28 | 3 | -111/+34 |
| | | | | Declutters PyTypeObject struct initialization when declaring new types. | ||||
* | context: rename parts to partitions | Jose M. Guisado Gomez | 2022-04-28 | 1 | -2/+2 |
| | |||||
* | fdisk.c: add partition module object | Jose M. Guisado Gomez | 2022-04-26 | 2 | -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 headers | Jose M. Guisado Gomez | 2022-04-07 | 6 | -0/+562 |
| | | | | LGPL2.1 or later. | ||||
* | Add MANIFEST.in | Jose M. Guisado Gomez | 2022-04-06 | 1 | -0/+1 |
| | | | | Add MANIFEST.in to include .h files in source distributions. | ||||
* | Initial commit | Jose M. Guisado Gomez | 2022-04-06 | 7 | -0/+796 |
Add sources, setup.py and .gitignore Build/Install: python setup.py build python setup.py install |