David Cournapeau schrieb:
> Hi,
> 
> I am a developer of numpy and scipy, and I would be interested in
> helping numpy/scipy debian packages to be better on both Debian and
> Ubuntu. As a user of both Debian and Ubuntu, and one of the  main
> developer working on build issues for numpy/scipy

while not a build issue, the modularity for an install is painful. numpy is too
big (including it's dependencies) to be installed on a CD (Ubuntu live
CD/alternate CD), however it is required by some other packages, which are
itself not packaged in a modular way: pygtk requires for some obscure (couldn't
find code using this) the multiarray extension and depends on it (although an
exception is thrown at runtime if the extension is not found). while pygtk could
be better packaged, you could do the same with numpy by splitting out some
sub-packages. Unfortunately splitting out python subpackages is not that easy:

Having numpy/core/multiarray.so in it's own binary package would require
packaging python-multiarray with the files:

  numpy/__init__.py
  numpy/core/__init__.py
  numpy/core/multiarray.so

with the __init__.py files being empty files. Installing on top of this the
python-numpy package would require to replace (divert) the __init__.py files
with the __init__.py files as found in numpy (packaging tools like dpkg and rpm
don't allow overwriting of files without special care). Consider that I
additionally might want to split out stuff only needed at runtime (splitting out
distutils, tests and include) and legacy stuff (numarray, numeric), I have to
add more variants of __init__.py files and maintainance becomes harder. What I
really want is to be able to ship independent subpackages as it's own package.
Having e.g. the multiarray extension in a subpackage seems to be worse than
having it as a toplevel module or in its own namespace.

Background in https://bugs.launchpad.net/bugs/309215

  Matthias


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to