1
0
mirror of https://github.com/kdave/btrfs-progs synced 2025-05-16 14:58:38 +00:00
btrfs-progs/libbtrfsutil/python
Qu Wenruo acda1fdba0 libbtrfsutil: python: use MANIFEST.in for headers
[BUG]
Currently with python3.12, the python binding will always result the
following warning:

    [PY]     libbtrfsutil
/usr/lib/python3.12/site-packages/setuptools/_distutils/extension.py:134: UserWarning: Unknown Extension options: 'headers'
  warnings.warn(msg)

[CAUSE]
In the setup.py which specifies the files to be included into the package,
we use setuptools::Extension to specify the file lists and include paths.

But there is no handling of Extension::headers member, thus resulting the
above warning.

[FIX]
According to the docs of setuptools, MANIFEST.in is the file controlling
what files should be included.
So instead of the non-supported headers, use MANIFEST.in to include the
needed headers.

Signed-off-by: Qu Wenruo <wqu@suse.com>
2024-11-26 21:05:34 +01:00
..
tests libbtrfsutil: fix accidentally closing fd passed to subvolume iterator 2024-06-25 17:42:18 +02:00
.gitignore
btrfsutilpy.h libbtrfsutil: python: fix build on Python 3.13 2024-07-30 20:01:38 +02:00
error.c libbtrfsutil: relicense to LGPLv2.1+ 2021-04-19 18:58:26 +02:00
filesystem.c libbtrfsutil: relicense to LGPLv2.1+ 2021-04-19 18:58:26 +02:00
MANIFEST.in libbtrfsutil: python: use MANIFEST.in for headers 2024-11-26 21:05:34 +01:00
module.c libbtrfsutil: comment out fd_converter() 2024-07-30 20:04:36 +02:00
qgroup.c libbtrfsutil: relicense to LGPLv2.1+ 2021-04-19 18:58:26 +02:00
setup.py libbtrfsutil: python: use MANIFEST.in for headers 2024-11-26 21:05:34 +01:00
subvolume.c libbtrfsutil: relicense to LGPLv2.1+ 2021-04-19 18:58:26 +02:00