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

Bug#1013092: ITP: python3-sphinx-autosummary-accessors -- sphinx autosummary extension to pandas or xarray accessors



Quoting Diane Trout (2022-06-17 07:12:58)
> On Fri, 2022-06-17 at 00:32 +0200, Jonas Smedegaard wrote:
> > 
> > I guess that by "MIT / Expat" you mean that you declared the project
> > as
> > beinge effectively licensed "MIT or Expat".
> 
> Upstream lists this license:
> https://github.com/xarray-contrib/sphinx-autosummary-accessors/blob/main/LICENSE
> 
> Which looks like MIT (Expat)
> https://www.debian.org/legal/licenses/mit
> 
> > 
> > From your description of the situation, the better approach is to
> > instead declare it as licensed "MIT and Expat".
> 
> In reading the history of how this project came to be they say at
> https://github.com/xarray-contrib/sphinx-autosummary-accessors
> 
>    sphinx.ext.autosummary is able to create summary and object pages
>    for objects and their methods, but it doesn't work well with
>    accessor styled properties and methods (obj.accessor.attribute).
>    pandas has accessor documentation built using sphinx.ext.autosummary
>    templates, which xarray recently adopted by copying the templates
>    and all related code.
>    
>    To avoid even more duplicated code, and to make it easier for
>    projects to document their custom accessors, this project aims to
>    provide this functionality by way of a sphinx extension.
>    
>    Most of the code was adapted from pandas.
>    
> Which is why I think the pandas BSD 3 clause license is included.
> 
> So perhaps it would be best to say MIT and BSD-3-clause.

Makes good sense.

Sorry for my complete nonsense: I am baffled that I managed to write a
full email without noticing that I was talking about same license twice,
not two separate licenses.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: