Skip to content

Commit 97c6a64

Browse files
lbdreyergreglucas
andauthored
Relicense from LGPL-3 to BSD-3 (SciTools#2285)
* Relicense from LGPL-3 to BSD-3 * Apply suggestions from code review Co-authored-by: Greg Lucas <[email protected]> * Update copyright notices to be Crown and Cartopy contribs; explictly state bsd 3-clause where possible * Fix trailing whitespace precommit --------- Co-authored-by: Greg Lucas <[email protected]>
1 parent ec891b0 commit 97c6a64

File tree

126 files changed

+375
-1452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+375
-1452
lines changed

COPYING

Lines changed: 0 additions & 674 deletions
This file was deleted.

COPYING.LESSER

Lines changed: 0 additions & 165 deletions
This file was deleted.

LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) Crown and Cartopy contributors.
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
3. Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include .gitattributes
1010
include .gitignore
1111
exclude .pre-commit-config.yaml
1212
include CHANGES
13-
include COPYING*
13+
include LICENSE
1414
include environment.yml
1515
include INSTALL
1616
recursive-include lib/cartopy *.cpp *.py *.pyx

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ Code is just one of many ways of positively contributing to Cartopy, please see
9494
our [contributing guide](.github/CONTRIBUTING.md) for more details on how
9595
you can get involved.
9696

97-
Cartopy is released under a LGPL license with a shared copyright model.
98-
See [COPYING](COPYING) and [COPYING.LESSER](COPYING.LESSER) for full terms.
97+
Cartopy is released under the 3-Clause BSD license with a shared copyright model.
98+
See [LICENSE](LICENSE) for full terms.
9999

100100
The [Met Office](https://metoffice.gov.uk) has made a significant
101101
contribution to the development, maintenance and support of this library.

benchmarks/cases/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.

benchmarks/cases/geodesic.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65

76
import numpy as np
87

benchmarks/cases/gridliner.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65

76
import matplotlib.pyplot as plt
87

benchmarks/cases/mpl_redraw.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65

76
import io
87

benchmarks/cases/project_linear.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65

76
import cartopy.crs as ccrs
87
import cartopy.io.shapereader as shpreader

docs/make_projection.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65

76
import inspect
87
from pathlib import Path

docs/source/conf.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65

76
# -*- coding: utf-8 -*-
87
#

docs/source/copyright.rst

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,16 @@ Cartopy copyright, licensing and contributors
77
Cartopy code
88
------------
99

10-
All Cartopy source code, unless explicitly stated, is |copy| ``British Crown
11-
copyright, 2016`` and is licensed under the **GNU Lesser General Public
12-
License** as published by the Free Software Foundation, either version 3 of the
13-
License, or (at your option) any later version. You should find all source
14-
files with the following header:
10+
All Cartopy source code, unless explicitly stated, is ``Copyright Crown and
11+
Cartopy contributors`` and is licensed under the **BSD 3-Clause License**.
12+
You should find all source files with the following header:
1513

1614
.. admonition:: Code License
1715

18-
|copy| British Crown Copyright 2011 - 2016, Met Office
19-
20-
This file is part of cartopy.
21-
22-
Cartopy is free software: you can redistribute it and/or modify it under
23-
the terms of the GNU Lesser General Public License as published by the
24-
Free Software Foundation, either version 3 of the License, or
25-
(at your option) any later version.
26-
27-
Cartopy is distributed in the hope that it will be useful,
28-
but WITHOUT ANY WARRANTY; without even the implied warranty of
29-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30-
GNU Lesser General Public License for more details.
31-
32-
You should have received a copy of the GNU Lesser General Public License
33-
along with cartopy. If not, see `<https://www.gnu.org/licenses/>`_.
16+
# Copyright Crown and Cartopy Contributors
17+
#
18+
# This file is part of Cartopy and is released under the BSD 3-Clause license.
19+
# See LICENSE in the root of the repository for full licensing details.
3420

3521

3622
Cartopy documentation and examples

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Getting involved
3535
Cartopy was originally developed at the UK Met Office to allow scientists to visualise
3636
their data on maps quickly, easily and most importantly, accurately.
3737
Cartopy has been made freely available under the terms of the
38-
`GNU Lesser General Public License <https://www.gnu.org/licenses/lgpl.html>`_.
38+
`BSD 3-Clause License <https://opensource.org/license/bsd-3-clause/>`_.
3939
It is suitable to be used in a variety
4040
of scientific fields and has an :doc:`active development community <contributors>`.
4141

lib/cartopy/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65
import os
76
from pathlib import Path
87
import tempfile

lib/cartopy/_epsg.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65
"""
76
Provide support for converting EPSG codes to Projection instances.
87

lib/cartopy/crs.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright Cartopy Contributors
1+
# Copyright Crown and Cartopy Contributors
22
#
3-
# This file is part of Cartopy and is released under the LGPL license.
4-
# See COPYING and COPYING.LESSER in the root of the repository for full
5-
# licensing details.
3+
# This file is part of Cartopy and is released under the BSD 3-clause license.
4+
# See LICENSE in the root of the repository for full licensing details.
65

76
"""
87
The crs module defines Coordinate Reference Systems and the transformations

lib/cartopy/data/LICENSE

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@ HadISST data: https://www.metoffice.gov.uk/hadobs/hadisst/terms_and_conditions.h
22

33
The image 50-natural-earth-1-downsampled.png is downsampled from Natural Earth data whose conditions are stated at https://www.naturalearthdata.com/about/terms-of-use/ (public domain).
44

5-
gshhs is LGPL, but their documentation doesn't state a version https://www.soest.hawaii.edu/pwessel/gshhg/.
6-
The same data sets are part of the GMT package which is packaged in linux distributions, including debian.
7-
85
The image Miriam.A2012270.2050.2km.jpg is from the Rapid Response section of the NASA LANCE data, which states it is in the public domain https://earthdata.nasa.gov/faq#ed-rapid-response-faq

0 commit comments

Comments
 (0)