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

Re: managing toplevel __init__.py files



On Sun, 06 Mar 2011, Tim Michelsen wrote:
> i have started to package a series of modules for scipy.
> These are put on the namespace as
> scikits.timeseries
> scikits.statsmodels

> etc.

ah cool -- 
$> wnpp-check statsmodels
python-scikits-statsmodels (RFP - #570604)

if of any help, my packaging which was rejected solely due to missing
copyrights on some data files (if those are copyrightable at  all), so
you might want to look at

http://git.debian.org/?p=pkg-exppsy/statsmodels.git

>  trying to overwrite
> '/usr/lib/python2.6/site-packages/scikits/__init__.py', which is also in
> package python-scikits-timeseries 0.91.3-2~ppa5

packages should not ship those -- pysupport iirc would create it
properly

e.g. see
http://git.debian.org/?p=pkg-exppsy/statsmodels.git;a=blob;f=debian/rules;h=0b534f7258bf5c2cf3d5e10bcc8de5376516d114;hb=refs/heads/debian
having

  27 override_dh_auto_install: ${PYVERS:%=python-install%}
  28         dh_auto_install
  29         find debian -wholename \*scikits/__init__.py -delete
-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic


Reply to: