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.

Diane


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to