Skip to content

Commit f876a01

Browse files
committed
Relicense to Apache v2.0
1 parent 25ec1c1 commit f876a01

File tree

8 files changed

+220
-778
lines changed

8 files changed

+220
-778
lines changed

LICENSE.txt

Lines changed: 201 additions & 674 deletions
Large diffs are not rendered by default.

README.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,20 @@ scales.
1212

1313
Originally created by Hrobjartur Thorsteinsson
1414
November 2013, from Norrkoping, Sweden
15+
16+
License
17+
=======
18+
19+
Copyright 2011 Pydecorate developers
20+
21+
Licensed under the Apache License, Version 2.0 (the "License");
22+
you may not use these files except in compliance with the License.
23+
You may obtain a copy of the License at
24+
25+
http://www.apache.org/licenses/LICENSE-2.0
26+
27+
Unless required by applicable law or agreed to in writing, software
28+
distributed under the License is distributed on an "AS IS" BASIS,
29+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30+
See the License for the specific language governing permissions and
31+
limitations under the License.

pydecorate/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
#!/usr/bin/python
2-
# -*- coding: utf-8 -*-
3-
#
4-
# Copyright (C) 2011 Hrobjartur Thorsteinsson
5-
#
6-
# This program is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License
17-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
18-
191
try:
202
from .version import version as __version__ # noqa
213
except ImportError:

pydecorate/decorator.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
#!/usr/bin/python
2-
# -*- coding: utf-8 -*-
3-
#
4-
# Copyright (C) 2011 Hrobjartur Thorsteinsson
5-
#
6-
# This program is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License
17-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
181
"""PIL-based image decoration class."""
192

203
from PIL import ImageDraw, ImageFont

pydecorate/decorator_agg.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
#!/usr/bin/python
2-
# -*- coding: utf-8 -*-
3-
#
4-
# Copyright (C) 2011 Hrobjartur Thorsteinsson
5-
#
6-
# This program is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License
17-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
181
"""Aggdraw-based image decoration class."""
192

203
from pathlib import Path

pydecorate/decorator_base.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
#!/usr/bin/python
2-
# -*- coding: utf-8 -*-
3-
#
4-
# Copyright (C) 2011 Hrobjartur Thorsteinsson
5-
#
6-
# This program is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License
17-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
181
"""Base class and utilities for decorating images."""
192

203
import copy

pydecorate/tests/test_decorator_agg.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
#!/usr/bin/python
2-
# -*- coding: utf-8 -*-
3-
#
4-
# Copyright (C) 2022 Pydecorate developers
5-
#
6-
# This program is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License
17-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
181
"""Tests for the aggdraw-based decorator."""
192

203
from pathlib import Path

setup.py

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
3-
#
4-
# Copyright (c) 2013 Pydecorate developers
5-
#
6-
# This program is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License
17-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
181
"""Package building definition and script."""
192

203
import sys
@@ -53,7 +36,8 @@
5336
"Topic :: Scientific/Engineering",
5437
],
5538
url="https://github.com/pytroll/pydecorate",
56-
license="GPLv3+",
39+
license="Apache-2.0",
40+
license_files=["LICENSE.txt"],
5741
packages=["pydecorate"],
5842
include_package_data=True,
5943
package_data={"pydecorate": ["fonts/*.ttf"]},

0 commit comments

Comments
 (0)