[vlc-commits] python bindings: fix package description

Olivier Aubert git at videolan.org
Thu Jan 4 23:46:06 CET 2018


vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Wed Oct 11 15:32:11 2017 +0200| [924e2344c655e0addaedf7dd750058d341a98d1f] | committer: Olivier Aubert

python bindings: fix package description

Do not repeat short description in the long descriptio. This fixes a
lintian warning when producing debian packages.

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=924e2344c655e0addaedf7dd750058d341a98d1f
---

 Makefile                     | 2 +-
 generator/templates/setup.py | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 9208d72..29d8a7b 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ dist: $(VERSIONED_NAME)
 	$(GENERATE) -p $<
 
 deb: dist
-	cd $(VERSIONED_PATH) ; python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=true --with-python3=true bdist_deb
+	cd $(VERSIONED_PATH) ; python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=true --with-python3=true --copyright-file=COPYING bdist_deb
 
 $(MODULE_NAME): generator/generate.py generator/templates/header.py generator/templates/footer.py generator/templates/override.py $(DEV_INCLUDES)
 	-mkdir -p $(DEV_PATH)
diff --git a/generator/templates/setup.py b/generator/templates/setup.py
index 4279256..d5b58e0 100644
--- a/generator/templates/setup.py
+++ b/generator/templates/setup.py
@@ -29,10 +29,10 @@ setup(name='python-vlc',
           "Topic :: Multimedia :: Video",
       ],
       description = "VLC bindings for python.",
-      long_description = """VLC bindings for python.
-
-      This module provides ctypes-based bindings for the native libvlc API
-      (see http://wiki.videolan.org/LibVLC) of the VLC video player.
+      long_description = """This module provides ctypes-based bindings (see
+      http://wiki.videolan.org/PythonBinding) for the native libvlc
+      API (see http://wiki.videolan.org/LibVLC) of the VLC video
+      player.
 
       It has been automatically generated from the include files of
       vlc {libvlc_version}, using generator {generator_version}.



More information about the vlc-commits mailing list