diff options
Diffstat (limited to 'lib')
101 files changed, 505 insertions, 0 deletions
diff --git a/lib/api/__init__.py b/lib/api/__init__.py index f93e59a9..35e411a7 100644 --- a/lib/api/__init__.py +++ b/lib/api/__init__.py @@ -1 +1,6 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .server import APIServer
\ No newline at end of file diff --git a/lib/api/install.py b/lib/api/install.py index a0d5bba9..654f8171 100644 --- a/lib/api/install.py +++ b/lib/api/install.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import sys from glob import glob diff --git a/lib/api/server.py b/lib/api/server.py index 0db253c6..66087b4e 100644 --- a/lib/api/server.py +++ b/lib/api/server.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import errno import logging import socket diff --git a/lib/api/simulator.py b/lib/api/simulator.py index d11bd308..26c0246c 100644 --- a/lib/api/simulator.py +++ b/lib/api/simulator.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from flask import Blueprint simulator = Blueprint('simulator', __name__) diff --git a/lib/api/stitch_plan.py b/lib/api/stitch_plan.py index 95cdc7d8..2011b592 100644 --- a/lib/api/stitch_plan.py +++ b/lib/api/stitch_plan.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from flask import Blueprint, g, jsonify from ..stitch_plan import patches_to_stitch_plan diff --git a/lib/commands.py b/lib/commands.py index ba307487..da07df0a 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import sys from copy import deepcopy diff --git a/lib/debug.py b/lib/debug.py index 5d022e63..f47d09ec 100644 --- a/lib/debug.py +++ b/lib/debug.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import atexit import os import socket diff --git a/lib/elements/__init__.py b/lib/elements/__init__.py index d53b2314..2e4c31a7 100644 --- a/lib/elements/__init__.py +++ b/lib/elements/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .auto_fill import AutoFill from .clone import Clone from .element import EmbroideryElement diff --git a/lib/elements/auto_fill.py b/lib/elements/auto_fill.py index 31da7e63..69533f62 100644 --- a/lib/elements/auto_fill.py +++ b/lib/elements/auto_fill.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import math import sys import traceback diff --git a/lib/elements/clone.py b/lib/elements/clone.py index fd770bd7..6dafa63d 100644 --- a/lib/elements/clone.py +++ b/lib/elements/clone.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from math import atan, degrees import inkex diff --git a/lib/elements/element.py b/lib/elements/element.py index 3468673a..9b894d89 100644 --- a/lib/elements/element.py +++ b/lib/elements/element.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys from copy import deepcopy diff --git a/lib/elements/empty_d_object.py b/lib/elements/empty_d_object.py index 69a128ad..dbb43bc4 100644 --- a/lib/elements/empty_d_object.py +++ b/lib/elements/empty_d_object.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..i18n import _ from .element import EmbroideryElement from .validation import ObjectTypeWarning diff --git a/lib/elements/fill.py b/lib/elements/fill.py index 1f4c7b1e..b6799165 100644 --- a/lib/elements/fill.py +++ b/lib/elements/fill.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import logging import math import re diff --git a/lib/elements/image.py b/lib/elements/image.py index 160898a5..0828b5ef 100644 --- a/lib/elements/image.py +++ b/lib/elements/image.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..i18n import _ from ..svg.path import get_node_transform from .element import EmbroideryElement diff --git a/lib/elements/polyline.py b/lib/elements/polyline.py index da1e807d..5ea00508 100644 --- a/lib/elements/polyline.py +++ b/lib/elements/polyline.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from inkex import Path from shapely import geometry as shgeo diff --git a/lib/elements/satin_column.py b/lib/elements/satin_column.py index fbadd92f..72b7ed0f 100644 --- a/lib/elements/satin_column.py +++ b/lib/elements/satin_column.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from copy import deepcopy from itertools import chain diff --git a/lib/elements/stroke.py b/lib/elements/stroke.py index d63a21a9..e3cd4390 100644 --- a/lib/elements/stroke.py +++ b/lib/elements/stroke.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys import shapely.geometry diff --git a/lib/elements/text.py b/lib/elements/text.py index 838be96a..dbf76c85 100644 --- a/lib/elements/text.py +++ b/lib/elements/text.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..i18n import _ from .element import EmbroideryElement from .validation import ObjectTypeWarning diff --git a/lib/elements/utils.py b/lib/elements/utils.py index 378cec0c..aceab485 100644 --- a/lib/elements/utils.py +++ b/lib/elements/utils.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..commands import is_command from ..svg.tags import (EMBROIDERABLE_TAGS, SVG_IMAGE_TAG, SVG_PATH_TAG, SVG_POLYLINE_TAG, SVG_TEXT_TAG) diff --git a/lib/elements/validation.py b/lib/elements/validation.py index f77e2fc4..c14b634c 100644 --- a/lib/elements/validation.py +++ b/lib/elements/validation.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from shapely.geometry import Point as ShapelyPoint from ..utils import Point as InkstitchPoint diff --git a/lib/exceptions.py b/lib/exceptions.py index c1ff36f0..a9820ac3 100644 --- a/lib/exceptions.py +++ b/lib/exceptions.py @@ -1,2 +1,7 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + class InkstitchException(Exception): pass diff --git a/lib/extensions/__init__.py b/lib/extensions/__init__.py index 1758772e..1905817a 100644 --- a/lib/extensions/__init__.py +++ b/lib/extensions/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from lib.extensions.troubleshoot import Troubleshoot from .auto_satin import AutoSatin diff --git a/lib/extensions/auto_satin.py b/lib/extensions/auto_satin.py index fce4a1fd..62fb15af 100644 --- a/lib/extensions/auto_satin.py +++ b/lib/extensions/auto_satin.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys import inkex diff --git a/lib/extensions/base.py b/lib/extensions/base.py index ef5cdd6a..44c7ec88 100644 --- a/lib/extensions/base.py +++ b/lib/extensions/base.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import json import os import re diff --git a/lib/extensions/break_apart.py b/lib/extensions/break_apart.py index d0ab2619..c2eb02d4 100644 --- a/lib/extensions/break_apart.py +++ b/lib/extensions/break_apart.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import logging from copy import copy diff --git a/lib/extensions/cleanup.py b/lib/extensions/cleanup.py index f1965aba..99b72a81 100644 --- a/lib/extensions/cleanup.py +++ b/lib/extensions/cleanup.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from inkex import NSS, Boolean, errormsg from ..elements import Fill, Stroke diff --git a/lib/extensions/commands.py b/lib/extensions/commands.py index 19b85e6d..0f1fefab 100644 --- a/lib/extensions/commands.py +++ b/lib/extensions/commands.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from inkex import Boolean from .base import InkstitchExtension diff --git a/lib/extensions/convert_to_satin.py b/lib/extensions/convert_to_satin.py index 048c08da..393ffd9e 100644 --- a/lib/extensions/convert_to_satin.py +++ b/lib/extensions/convert_to_satin.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import math import sys from itertools import chain, groupby diff --git a/lib/extensions/cut_satin.py b/lib/extensions/cut_satin.py index 7cc80295..b471239e 100644 --- a/lib/extensions/cut_satin.py +++ b/lib/extensions/cut_satin.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from ..elements import SatinColumn diff --git a/lib/extensions/embroider_settings.py b/lib/extensions/embroider_settings.py index 88e2ba9b..f504c88f 100644 --- a/lib/extensions/embroider_settings.py +++ b/lib/extensions/embroider_settings.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .base import InkstitchExtension diff --git a/lib/extensions/flip.py b/lib/extensions/flip.py index 87b8b3f0..743f1701 100644 --- a/lib/extensions/flip.py +++ b/lib/extensions/flip.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from ..elements import SatinColumn diff --git a/lib/extensions/global_commands.py b/lib/extensions/global_commands.py index 9655c7af..6c1f2f10 100644 --- a/lib/extensions/global_commands.py +++ b/lib/extensions/global_commands.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .layer_commands import LayerCommands from ..commands import GLOBAL_COMMANDS diff --git a/lib/extensions/import_threadlist.py b/lib/extensions/import_threadlist.py index 029043c2..f7fe0bcc 100644 --- a/lib/extensions/import_threadlist.py +++ b/lib/extensions/import_threadlist.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import re import sys diff --git a/lib/extensions/input.py b/lib/extensions/input.py index c6dcb698..13788510 100644 --- a/lib/extensions/input.py +++ b/lib/extensions/input.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import inkex diff --git a/lib/extensions/install.py b/lib/extensions/install.py index 9756fb83..62cfde73 100644 --- a/lib/extensions/install.py +++ b/lib/extensions/install.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .base import InkstitchExtension from ..api import APIServer from ..gui import open_url diff --git a/lib/extensions/layer_commands.py b/lib/extensions/layer_commands.py index 89726510..2494e820 100644 --- a/lib/extensions/layer_commands.py +++ b/lib/extensions/layer_commands.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from lxml import etree diff --git a/lib/extensions/lettering.py b/lib/extensions/lettering.py index cddf1b11..c57348ac 100644 --- a/lib/extensions/lettering.py +++ b/lib/extensions/lettering.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import json import os import sys diff --git a/lib/extensions/lettering_custom_font_dir.py b/lib/extensions/lettering_custom_font_dir.py index a8284d38..b73d23a6 100644 --- a/lib/extensions/lettering_custom_font_dir.py +++ b/lib/extensions/lettering_custom_font_dir.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import json import os diff --git a/lib/extensions/lettering_generate_json.py b/lib/extensions/lettering_generate_json.py index 446c4ce8..3822b0c2 100644 --- a/lib/extensions/lettering_generate_json.py +++ b/lib/extensions/lettering_generate_json.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import json import os import sys diff --git a/lib/extensions/lettering_remove_kerning.py b/lib/extensions/lettering_remove_kerning.py index b58e4fb2..21a8eda3 100644 --- a/lib/extensions/lettering_remove_kerning.py +++ b/lib/extensions/lettering_remove_kerning.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os from inkex import NSS diff --git a/lib/extensions/object_commands.py b/lib/extensions/object_commands.py index f1c2fb46..851d4a34 100644 --- a/lib/extensions/object_commands.py +++ b/lib/extensions/object_commands.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from ..commands import OBJECT_COMMANDS, add_commands diff --git a/lib/extensions/output.py b/lib/extensions/output.py index 52e9d3a9..e621f1b6 100644 --- a/lib/extensions/output.py +++ b/lib/extensions/output.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import sys import tempfile diff --git a/lib/extensions/params.py b/lib/extensions/params.py index acd96d5b..10cc6e3c 100644 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + # -*- coding: UTF-8 -*- import os diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py index 1218b5e9..a75c781e 100644 --- a/lib/extensions/print_pdf.py +++ b/lib/extensions/print_pdf.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import errno import json import logging diff --git a/lib/extensions/remove_embroidery_settings.py b/lib/extensions/remove_embroidery_settings.py index 6ccdb703..55c29e77 100644 --- a/lib/extensions/remove_embroidery_settings.py +++ b/lib/extensions/remove_embroidery_settings.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from inkex import NSS, Boolean from ..commands import find_commands diff --git a/lib/extensions/reorder.py b/lib/extensions/reorder.py index 4db02760..8a2a1b2e 100644 --- a/lib/extensions/reorder.py +++ b/lib/extensions/reorder.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from .base import InkstitchExtension diff --git a/lib/extensions/simulator.py b/lib/extensions/simulator.py index 66be752b..c04e1acd 100644 --- a/lib/extensions/simulator.py +++ b/lib/extensions/simulator.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..api import APIServer from ..gui import open_url diff --git a/lib/extensions/stitch_plan_preview.py b/lib/extensions/stitch_plan_preview.py index e1c398b5..40ad6a2a 100644 --- a/lib/extensions/stitch_plan_preview.py +++ b/lib/extensions/stitch_plan_preview.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..stitch_plan import patches_to_stitch_plan from ..svg import render_stitch_plan from .base import InkstitchExtension diff --git a/lib/extensions/troubleshoot.py b/lib/extensions/troubleshoot.py index bd352d8f..113a9383 100644 --- a/lib/extensions/troubleshoot.py +++ b/lib/extensions/troubleshoot.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import textwrap from inkex import errormsg diff --git a/lib/extensions/zip.py b/lib/extensions/zip.py index eacf2260..605b4573 100644 --- a/lib/extensions/zip.py +++ b/lib/extensions/zip.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import sys import tempfile diff --git a/lib/gui/__init__.py b/lib/gui/__init__.py index 8869fb6d..1509fa77 100644 --- a/lib/gui/__init__.py +++ b/lib/gui/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .dialogs import confirm_dialog, info_dialog from .electron import open_url from .presets import PresetsPanel diff --git a/lib/gui/dialogs.py b/lib/gui/dialogs.py index c09503b3..e270d2e5 100644 --- a/lib/gui/dialogs.py +++ b/lib/gui/dialogs.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import wx diff --git a/lib/gui/electron.py b/lib/gui/electron.py index ef215fb5..dcf03c6f 100644 --- a/lib/gui/electron.py +++ b/lib/gui/electron.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import subprocess import sys diff --git a/lib/gui/presets.py b/lib/gui/presets.py index 2c0d0481..7fbce496 100644 --- a/lib/gui/presets.py +++ b/lib/gui/presets.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import json import os import re diff --git a/lib/gui/simulator.py b/lib/gui/simulator.py index 5bc434bc..27b9a97e 100644 --- a/lib/gui/simulator.py +++ b/lib/gui/simulator.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys import time import traceback diff --git a/lib/i18n.py b/lib/i18n.py index 50e71c92..37972e36 100644 --- a/lib/i18n.py +++ b/lib/i18n.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import gettext import os import sys diff --git a/lib/inx/__init__.py b/lib/inx/__init__.py index cc2b039d..6d4846f2 100644 --- a/lib/inx/__init__.py +++ b/lib/inx/__init__.py @@ -1 +1,6 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .generate import generate_inx_files diff --git a/lib/inx/about.py b/lib/inx/about.py index 6db13865..c1ce458f 100755 --- a/lib/inx/about.py +++ b/lib/inx/about.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .utils import build_environment, write_inx_file diff --git a/lib/inx/extensions.py b/lib/inx/extensions.py index 379e98cd..9a197c5d 100755 --- a/lib/inx/extensions.py +++ b/lib/inx/extensions.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import pyembroidery from ..commands import (COMMANDS, GLOBAL_COMMANDS, LAYER_COMMANDS, diff --git a/lib/inx/generate.py b/lib/inx/generate.py index 8a5b9569..cfcb224e 100644 --- a/lib/inx/generate.py +++ b/lib/inx/generate.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .info import generate_info_inx_files from .extensions import generate_extension_inx_files from .inputs import generate_input_inx_files diff --git a/lib/inx/info.py b/lib/inx/info.py index f391b546..3a69adad 100755 --- a/lib/inx/info.py +++ b/lib/inx/info.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .utils import build_environment, write_inx_file diff --git a/lib/inx/inputs.py b/lib/inx/inputs.py index b50ec9f9..2cf84df9 100755 --- a/lib/inx/inputs.py +++ b/lib/inx/inputs.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import pyembroidery from .utils import build_environment, write_inx_file diff --git a/lib/inx/outputs.py b/lib/inx/outputs.py index ccb323c7..1ac1daf8 100644 --- a/lib/inx/outputs.py +++ b/lib/inx/outputs.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import pyembroidery from .utils import build_environment, write_inx_file diff --git a/lib/inx/utils.py b/lib/inx/utils.py index 2fb6b21b..4a62c507 100644 --- a/lib/inx/utils.py +++ b/lib/inx/utils.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import errno import gettext import os diff --git a/lib/lettering/__init__.py b/lib/lettering/__init__.py index 5a9d345c..a733aa9f 100644 --- a/lib/lettering/__init__.py +++ b/lib/lettering/__init__.py @@ -1 +1,6 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .font import Font, FontError diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 03e0e47a..b1979067 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import json import os from copy import deepcopy diff --git a/lib/lettering/font_variant.py b/lib/lettering/font_variant.py index 2071b2cb..b1e38368 100644 --- a/lib/lettering/font_variant.py +++ b/lib/lettering/font_variant.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import inkex diff --git a/lib/lettering/glyph.py b/lib/lettering/glyph.py index 84517474..3bedd7ed 100644 --- a/lib/lettering/glyph.py +++ b/lib/lettering/glyph.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from copy import copy from inkex import paths, transforms diff --git a/lib/lettering/kerning.py b/lib/lettering/kerning.py index 710b02aa..6380f1a6 100644 --- a/lib/lettering/kerning.py +++ b/lib/lettering/kerning.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from inkex import NSS from lxml import etree diff --git a/lib/output.py b/lib/output.py index 60579801..e330354d 100644 --- a/lib/output.py +++ b/lib/output.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys import inkex diff --git a/lib/stitch_plan/__init__.py b/lib/stitch_plan/__init__.py index 2aaa0ab9..68301e94 100644 --- a/lib/stitch_plan/__init__.py +++ b/lib/stitch_plan/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .stitch_plan import patches_to_stitch_plan, StitchPlan, ColorBlock from .stitch import Stitch from .read_file import stitch_plan_from_file diff --git a/lib/stitch_plan/read_file.py b/lib/stitch_plan/read_file.py index ff5a68ac..56567f36 100644 --- a/lib/stitch_plan/read_file.py +++ b/lib/stitch_plan/read_file.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import pyembroidery from .stitch_plan import StitchPlan diff --git a/lib/stitch_plan/stitch.py b/lib/stitch_plan/stitch.py index 6e1e4090..ae6fa480 100644 --- a/lib/stitch_plan/stitch.py +++ b/lib/stitch_plan/stitch.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..utils.geometry import Point diff --git a/lib/stitch_plan/stitch_plan.py b/lib/stitch_plan/stitch_plan.py index f3827f54..01463aba 100644 --- a/lib/stitch_plan/stitch_plan.py +++ b/lib/stitch_plan/stitch_plan.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from ..svg import PIXELS_PER_MM from ..threads import ThreadColor from ..utils.geometry import Point diff --git a/lib/stitch_plan/ties.py b/lib/stitch_plan/ties.py index fda12f9a..c649ee44 100644 --- a/lib/stitch_plan/ties.py +++ b/lib/stitch_plan/ties.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from copy import deepcopy from .stitch import Stitch diff --git a/lib/stitches/__init__.py b/lib/stitches/__init__.py index 12c636a6..4de88733 100644 --- a/lib/stitches/__init__.py +++ b/lib/stitches/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .auto_fill import auto_fill from .fill import legacy_fill from .running_stitch import * diff --git a/lib/stitches/auto_fill.py b/lib/stitches/auto_fill.py index 485f51e5..07361f13 100644 --- a/lib/stitches/auto_fill.py +++ b/lib/stitches/auto_fill.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + # -*- coding: UTF-8 -*- import math diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py index 5ce91a49..795df036 100644 --- a/lib/stitches/auto_satin.py +++ b/lib/stitches/auto_satin.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import math from itertools import chain diff --git a/lib/stitches/fill.py b/lib/stitches/fill.py index a19e080b..5aead9c7 100644 --- a/lib/stitches/fill.py +++ b/lib/stitches/fill.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import math import shapely diff --git a/lib/stitches/running_stitch.py b/lib/stitches/running_stitch.py index 57a03865..2878480c 100644 --- a/lib/stitches/running_stitch.py +++ b/lib/stitches/running_stitch.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from copy import copy """ Utility functions to produce running stitches. """ diff --git a/lib/svg/__init__.py b/lib/svg/__init__.py index 640aee73..b17a37f0 100644 --- a/lib/svg/__init__.py +++ b/lib/svg/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .guides import get_guides from .path import apply_transforms, get_node_transform, get_correction_transform, line_strings_to_csp, point_lists_to_csp, line_strings_to_path from .path import apply_transforms, get_node_transform, get_correction_transform, line_strings_to_csp, point_lists_to_csp diff --git a/lib/svg/guides.py b/lib/svg/guides.py index 255b3e6a..e492a90d 100644 --- a/lib/svg/guides.py +++ b/lib/svg/guides.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from inkex import transforms from ..utils import Point, cache, string_to_floats diff --git a/lib/svg/path.py b/lib/svg/path.py index baa93443..b503cc75 100644 --- a/lib/svg/path.py +++ b/lib/svg/path.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from lxml import etree diff --git a/lib/svg/rendering.py b/lib/svg/rendering.py index ced7d4f1..c28c7003 100644 --- a/lib/svg/rendering.py +++ b/lib/svg/rendering.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import math import inkex diff --git a/lib/svg/svg.py b/lib/svg/svg.py index 1a6b10e8..3bd9a693 100644 --- a/lib/svg/svg.py +++ b/lib/svg/svg.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from inkex import NSS from lxml import etree diff --git a/lib/svg/tags.py b/lib/svg/tags.py index 6fa47aa0..5c1d892a 100644 --- a/lib/svg/tags.py +++ b/lib/svg/tags.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from lxml import etree diff --git a/lib/svg/units.py b/lib/svg/units.py index 6f16d7fb..f229c2c3 100644 --- a/lib/svg/units.py +++ b/lib/svg/units.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import inkex from ..i18n import _ diff --git a/lib/threads/__init__.py b/lib/threads/__init__.py index 1081ea14..18ef3e0d 100644 --- a/lib/threads/__init__.py +++ b/lib/threads/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .catalog import ThreadCatalog from .color import ThreadColor from .palette import ThreadPalette diff --git a/lib/threads/catalog.py b/lib/threads/catalog.py index c91ce227..c3ccb0c3 100644 --- a/lib/threads/catalog.py +++ b/lib/threads/catalog.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import sys from collections.abc import Sequence diff --git a/lib/threads/color.py b/lib/threads/color.py index 32016112..69a70798 100644 --- a/lib/threads/color.py +++ b/lib/threads/color.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import colorsys import re diff --git a/lib/threads/palette.py b/lib/threads/palette.py index de7ed6f0..29d2a6dd 100644 --- a/lib/threads/palette.py +++ b/lib/threads/palette.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from collections.abc import Set from colormath.color_conversions import convert_color diff --git a/lib/utils/__init__.py b/lib/utils/__init__.py index 2b39da71..b24257be 100644 --- a/lib/utils/__init__.py +++ b/lib/utils/__init__.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from .cache import cache from .dotdict import DotDict from .geometry import * diff --git a/lib/utils/cache.py b/lib/utils/cache.py index 3a2636f2..c0313ebe 100644 --- a/lib/utils/cache.py +++ b/lib/utils/cache.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + try: from functools import lru_cache except ImportError: diff --git a/lib/utils/dotdict.py b/lib/utils/dotdict.py index e946ecd4..acd575b9 100644 --- a/lib/utils/dotdict.py +++ b/lib/utils/dotdict.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + class DotDict(dict): """A dict subclass that allows accessing methods using dot notation. diff --git a/lib/utils/geometry.py b/lib/utils/geometry.py index f7b49407..1e0c6ad0 100644 --- a/lib/utils/geometry.py +++ b/lib/utils/geometry.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import math from shapely.geometry import LineString diff --git a/lib/utils/inkscape.py b/lib/utils/inkscape.py index f89ea447..62442650 100644 --- a/lib/utils/inkscape.py +++ b/lib/utils/inkscape.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys from os.path import expanduser, realpath diff --git a/lib/utils/io.py b/lib/utils/io.py index 239585f4..26ee72a5 100644 --- a/lib/utils/io.py +++ b/lib/utils/io.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import os import sys from io import StringIO diff --git a/lib/utils/json.py b/lib/utils/json.py index c670a46b..63b3cfb5 100644 --- a/lib/utils/json.py +++ b/lib/utils/json.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + from flask.json import JSONEncoder diff --git a/lib/utils/paths.py b/lib/utils/paths.py index 6dbaf13d..938c5f33 100644 --- a/lib/utils/paths.py +++ b/lib/utils/paths.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys import os from os.path import dirname, realpath diff --git a/lib/utils/string.py b/lib/utils/string.py index a7839f7d..cb852ce3 100644 --- a/lib/utils/string.py +++ b/lib/utils/string.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + def string_to_floats(string, delimiter=","): """Convert a string of delimiter-separated floats into a list of floats.""" diff --git a/lib/utils/version.py b/lib/utils/version.py index 02eb388b..57ef11f0 100644 --- a/lib/utils/version.py +++ b/lib/utils/version.py @@ -1,3 +1,8 @@ +# Authors: see git history +# +# Copyright (c) 2010 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + import sys from os.path import isfile, join, realpath |
