Hello

From my point of view, the Debian packaging is ready as I mentioned
last october.  

Note that the project principles make it a bit unusual to package: the
main setup.py file is for the python-vlc-generator project, which is
used to generate the actual bindings from the include files. I update
the generated bindings when I either make a change in the generator or
a new VLC version is available, and the result, proper VLC bindings, is
located in generated/3.0 directory, with a full package structure,
proper setup.py, etc. So this directory should be the reference for
building from source, or it could also be built from PyPI.

Building the debian package, using the setup.py from PyPI or
generated/3.0 - which are the same -, can then be achieved with:

python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=true 
--with-python3=true bdist_deb

The only issue I see is the naming: since my package is named python-
vlc (in pypi) and stdeb prepends a python-  prefix, it produces a 
python-python-vlc package (and there seems to be no option to fix
this).

I was waiting for some feedback from Sebastian. If the
stdeb road is ok, and the naming issue is not blocking, it will be
simpler to maintain. Else we could have to duplicate the packaging
work.

Cheers,
Olivier



On Thu, 2018-01-18 at 10:17 +0100, Sebastian Ramacher wrote:
> Control: reassign -1 wnpp
> Control: title -1 RFP: python-vlc -- Python bindings for VLC
> 
> On 2018-01-18 13:27:32, Mike Abrahall wrote:
> > Package: src:vlc
> > Version: 3.0.0~rc5-1
> > Severity: wishlist
> > 
> > I have a Python app that uses VLC via the standard bindings.
> > This is already upstream 
> > https://git.videolan.org/?p=vlc/bindings/python.git;a=tree
> > I can ship that file myself, but when VLC updates my app breaks.
> > It would be much easier if this was just packaged alongside the VLC 
> > packages.
> 
> The Python bindings for VLC will require a new source package. Thus I am
> reassigning this bug to wnpp. I am also adding Olivier to CC. He was 
> interested
> in packaging it.
> 
> Olivier, did you make any progress since our last conversation?
> 
> Cheers

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to