Message ID | 0ca0915fe097761d0120a487b7179d056bbf93f5.1726885304.git.wqu@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs-progs: libbtrfsutil/python: fix all the warnings | expand |
diff --git a/libbtrfsutil/python/README.md b/libbtrfsutil/python/README.md new file mode 120000 index 000000000000..32d46ee883b5 --- /dev/null +++ b/libbtrfsutil/python/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/libbtrfsutil/python/setup.py b/libbtrfsutil/python/setup.py index 8b377b9fa1b6..5e3bcf088699 100755 --- a/libbtrfsutil/python/setup.py +++ b/libbtrfsutil/python/setup.py @@ -106,6 +106,8 @@ setup( #version=get_version(), version='6.11', description='Library for managing Btrfs filesystems', + long_description=open('README.md').read(), + long_description_content_type='text/markdown', url='https://github.com/kdave/btrfs-progs', license='LGPLv2+', cmdclass={'build_ext': my_build_ext},
Instead of copying the file during custom build commands, just use a soft link to re-use the existing README.d from libbtrfsutil. Issue: #310 Signed-off-by: Qu Wenruo <wqu@suse.com> --- libbtrfsutil/python/README.md | 1 + libbtrfsutil/python/setup.py | 2 ++ 2 files changed, 3 insertions(+) create mode 120000 libbtrfsutil/python/README.md