Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
875 changes: 201 additions & 674 deletions LICENSE.txt

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,20 @@ scales.

Originally created by Hrobjartur Thorsteinsson
November 2013, from Norrkoping, Sweden

License
=======

Copyright 2011 Pydecorate developers

Licensed under the Apache License, Version 2.0 (the "License");
you may not use these files except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
18 changes: 0 additions & 18 deletions pydecorate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Hrobjartur Thorsteinsson
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

try:
from .version import version as __version__ # noqa
except ImportError:
Expand Down
17 changes: 0 additions & 17 deletions pydecorate/decorator.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Hrobjartur Thorsteinsson
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""PIL-based image decoration class."""

from PIL import ImageDraw, ImageFont
Expand Down
17 changes: 0 additions & 17 deletions pydecorate/decorator_agg.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Hrobjartur Thorsteinsson
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Aggdraw-based image decoration class."""

from pathlib import Path
Expand Down
17 changes: 0 additions & 17 deletions pydecorate/decorator_base.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Hrobjartur Thorsteinsson
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Base class and utilities for decorating images."""

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

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

import sys
Expand Down Expand Up @@ -53,7 +36,8 @@
"Topic :: Scientific/Engineering",
],
url="https://github.com/pytroll/pydecorate",
license="GPLv3+",
license="Apache-2.0",
license_files=["LICENSE.txt"],
packages=["pydecorate"],
include_package_data=True,
package_data={"pydecorate": ["fonts/*.ttf"]},
Expand Down
Loading