Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9752 > unrolled thread

Re: pydist and install_requires

Started byAndrey Rahmatullin <wrar@debian.org>
First post2017-08-17 11:40 +0200
Last post2017-08-17 13:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: pydist and install_requires Andrey Rahmatullin <wrar@debian.org> - 2017-08-17 11:40 +0200
    RE:pydist and install_requires PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-17 12:10 +0200
      Re: pydist and install_requires Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-17 13:10 +0200
        RE:pydist and install_requires PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-17 13:30 +0200

#9752 — Re: pydist and install_requires

FromAndrey Rahmatullin <wrar@debian.org>
Date2017-08-17 11:40 +0200
SubjectRe: pydist and install_requires
Message-ID<ufprs-2VP-17@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Thu, Aug 17, 2017 at 09:16:25AM +0000, PICCA Frederic-Emmanuel wrote:
> When it comes to python:Depends, I try to add the right entries in the setup.py
Isn't just adding the package names to Depends easier?

> I: dh_python2 pydist:220: Cannot find package that provides opengl. Please add package that provides it to Build-Depends or add "opengl python-opengl" line to debian/pydist-overrides or add proper  dependency to Depends by hand and ignore this info.
> I: dh_python2 pydist:220: Cannot find package that provides pyqt5. Please add package that provides it to Build-Depends or add "pyqt5 python-pyqt5" line to debian/pydist-overrides or add proper  dependency to Depends by hand and ignore this info.
> I: dh_python2 pydist:220: Cannot find package that provides pyqt5.qtopengl. Please add package that provides it to Build-Depends or add "pyqt5.qtopengl python-pyqt5.qtopengl" line to debian/pydist-overrides or add proper  dependency to Depends by hand and ignore this info.
> I: dh_python2 pydist:220: Cannot find package that provides pyqt5.qtsvg. Please add package that provides it to Build-Depends or add "pyqt5.qtsvg python-pyqt5.qtsvg" line to debian/pydist-overrides or add proper  dependency to Depends by hand and ignore this info.
So do you have python-opengl, python-pyqt5 etc in Build-Depends?

-- 
WBR, wRAR

[toc] | [next] | [standalone]


#9754

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2017-08-17 12:10 +0200
Message-ID<ufpUu-3mI-35@gated-at.bofh.it>
In reply to#9752
Hello Andrey

> Isn't just adding the package names to Depends easier?

I just want this to be automatically generated and "upstreamable".

> So do you have python-opengl, python-pyqt5 etc in Build-Depends?

yes, I think that I found the problem for opengl.
the egg info gives the name of the project which is PyOpenGL. (I am testing this now)

but for pyqt5 I do not have egg informations. Maybe the solution would be to add egg info to pyqt5.
But for the split ???


Cheers

Frederic

[toc] | [prev] | [next] | [standalone]


#9755

FromGhislain Vaillant <ghisvail@gmail.com>
Date2017-08-17 13:10 +0200
Message-ID<ufqQy-40w-19@gated-at.bofh.it>
In reply to#9754
On 17/08/17 10:43, PICCA Frederic-Emmanuel wrote:
> Hello Andrey
> 
>> Isn't just adding the package names to Depends easier?
> 
> I just want this to be automatically generated and "upstreamable".
> 
>> So do you have python-opengl, python-pyqt5 etc in Build-Depends?
> 
> yes, I think that I found the problem for opengl.
> the egg info gives the name of the project which is PyOpenGL. (I am testing this now)

Indeed, you need to use the name registered on pypi, which can be 
different from the Debian package name. For OpenGL, the project is 
registered as PyOpenGL, for PyQt5 the name is PyQt5.

> but for pyqt5 I do not have egg informations. Maybe the solution would be to add egg info to pyqt5.
> But for the split ???

There are no individual registered names for the PyQt5 components, so 
you can only provide PyQt5 in the setup.py metadata, and you must list 
the necessary components yourself in d/control.

Ghis

[toc] | [prev] | [next] | [standalone]


#9756

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2017-08-17 13:30 +0200
Message-ID<ufr9T-480-11@gated-at.bofh.it>
In reply to#9755
Hello Ghislain

> Indeed, you need to use the name registered on pypi, which can be
> different from the Debian package name. For OpenGL, the project is
> registered as PyOpenGL, for PyQt5 the name is PyQt5.

yes it works :)

> but for pyqt5 I do not have egg informations. Maybe the solution would be to add egg info to pyqt5.
> But for the split ???

> There are no individual registered names for the PyQt5 components, so
> you can only provide PyQt5 in the setup.py metadata, and you must list
> the necessary components yourself in d/control.

yes in my case I will override pyqt5 in the pydist-override in order to add the right dependencies.

Cheers

Fred

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web