PyBuild available in raring

Dmitrijs Ledkovs dmitrij.ledkov at ubuntu.com
Fri Jan 25 15:11:59 UTC 2013


On 25 January 2013 15:07, Barry Warsaw <barry at ubuntu.com> wrote:
> On Jan 25, 2013, at 02:45 PM, Colin Watson wrote:
>
>>On Fri, Jan 25, 2013 at 06:21:19PM +0400, Dmitry Shachnev wrote:
>>> I want to announce that my yesterday’s python3-defaults upload[1] made
>>> new “PyBuild” tool (developed by Piotr Ożarowski) available in raring.
>>>
>>> It allows one to easily build packages for both Python 2 and Python 3
>>> (and also PyPy) by just passing `--buildsystem=pybuild` to debhelper
>>> commands, and is very configurable (it guesses supported interpreter
>>> versions by looking at Build-Depends).
>>
>>This looks like a big improvement, thanks.  However, is it intentional
>>that it appears to install Python 3 modules to
>>/usr/lib/python3.X/dist-packages/ by default, rather than
>>/usr/lib/python3/dist-packages/?
>
> I haven't looked at the details yet, but I think this should be considered a
> bug.  As of Python 3.2, there are no collision problems with lumping all
> Python packages under the same shared location.  Even shared libraries won't
> collide.
>

On #debian-python
<p1otr> let me know how to reliably detect interprer version from .so
files and I will remove this hack

dh_python3 later renames & moves the files under /usr/lib/python3/
But it does mean that dh_install snippets should have
/usr/lib/python3*/ instead of currently used /usr/lib/python3/

Regards,

Dmitrijs.



More information about the ubuntu-devel mailing list