diff --git a/README.md b/README.md index 2040bc9..c5c5e53 100644 --- a/README.md +++ b/README.md @@ -83,3 +83,19 @@ CHS96: Colquhoun D, Hawkes AG, Srodzinski K (1996) Joint distributions of apparent open and shut times of single-ion channels and maximum likelihood fitting of mechanisms. Phil Trans R Soc Lond A 354, 2555-2590. + +## Licence + +GPL-2.0-or-later. `LICENSE.MD` is the GNU General Public License version 2; as +the program specifies no version number in its own source files, section 9 of +that licence already permits choosing any later version, and the package +metadata now says so rather than claiming `GPL-2.0-only`. + +That matters because HJCFIT is GPL-3.0-or-later and now depends on SCALCS for +mechanism handling: `GPL-2.0-only` and GPL-3.0 are mutually incompatible, and +the combination could not have been distributed. + +Some of this code is re-implemented from the DCPROGS Fortran, which is GPL +(`popen.py` says so of `HJC_HILL.FOR`), so a permissive licence is not +available without settling that and without the agreement of the other +copyright holders. diff --git a/pyproject.toml b/pyproject.toml index 29155be..05485a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ authors = [ { name = "Remigijus Lape", email = "r.lape@ucl.ac.uk" }, { name = "Christoph Schmidt-Hieber" }, ] -license = "GPL-2.0-only" +license = "GPL-2.0-or-later" license-files = ["LICENSE.MD"] readme = "README.md" requires-python = ">=3.10"