[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pycsw 2.0.0 - proposed package restructuring



pycsw 2.0.0 is out, and the packaging has been updated and uploaded to
experimental to replace RC1.

With 2.0.0 being a major new release, now is good time to do some
restructuring of the package that is more disruptive.

I propose to remodel it to resemble the pywps packaging more. Have a
pycsw binary package that contains the pycsw-admin executable and
manpage, and have it depend on the python-pycsw package for the Python
module, and on pycsw-wsgi for the the web services. The -doc package
will likewise be renamed to drop the python- prefix.

This restructuring makes the pywps the main package instead of
python-pywps which will become a simple module package without an
executable, and `apt-get install pycsw` should get you a working pycsw
setup via the dependencies.

In support of the move to Python 3 [0], pycsw should also be built for
Python 3 to at least provide the module via python3-pycsw, and ideally
to use Python 3 for the main pycsw & pycsw-wsgi packages too. In the
Python Policy, the move to Python 3 only contains "should" requirements,
so we don't have to switch pycsw to Python 3 yet, although that's
strongly encouraged via the Policy.

An overview of the proposed restructuring is below, showing what's
installed by the packages and their dependencies.

Johan & Angelos, what do you think of this proposal?

- Package: pycsw
  Install: etc/pycsw/*
           usr/bin/pycsw-admin
           usr/share/man/man1/pycsw-admin.1.gz
  Depends: pycsw-wsgi,
           python-pycsw
  Suggests: pycsw-doc

- Package: pycsw-doc
  Install: usr/share/doc/pycsw-doc/*

- Package: pycsw-wsgi
  Install: etc/apache2/sites-available/pycsw.conf
           usr/share/pycsw/csw.py
           usr/share/pycsw/wsgi.py
           usr/share/pycsw/tests/*
  Depends: python-pycsw

- Package: python-pycsw
  Install: usr/lib/python2*

- Package: python3-pycsw
  Install: usr/lib/python3*

[0]
https://www.debian.org/doc/packaging-manuals/python-policy/ch-python3.html

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


Reply to: