diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-07-27 07:28:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-27 07:28:20 +0200 |
| commit | 731ac2868e30dbccf5771abf79564d8bab1156c2 (patch) | |
| tree | 29f3de6e7694b8ce1cac19756e4f143fd29e8bcd /lib/inx/extensions.py | |
| parent | 4dd03c18acbec4c44943c224ea9b66e262e9fd76 (diff) | |
rename pyembroidery to pystitch (#3889)
... and remove it as a submodule (use pip to install)
Diffstat (limited to 'lib/inx/extensions.py')
| -rwxr-xr-x | lib/inx/extensions.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/inx/extensions.py b/lib/inx/extensions.py index d69f0d75..cab1ece6 100755 --- a/lib/inx/extensions.py +++ b/lib/inx/extensions.py @@ -5,14 +5,14 @@ import os -import pyembroidery +import pystitch from ..commands import (COMMANDS, GLOBAL_COMMANDS, LAYER_COMMANDS, OBJECT_COMMANDS) from ..extensions import Input, Output, extensions from ..lettering.categories import FONT_CATEGORIES from ..threads import ThreadCatalog -from .outputs import pyembroidery_output_formats +from .outputs import pystitch_output_formats from .utils import build_environment, write_inx_file @@ -31,8 +31,8 @@ def object_commands(): return [(command, COMMANDS[command]) for command in OBJECT_COMMANDS] -def pyembroidery_debug_formats(): - for format in pyembroidery.supported_formats(): +def pystitch_debug_formats(): + for format in pystitch.supported_formats(): if 'writer' in format and format['category'] not in ['embroidery', 'image', 'color', 'stitch']: yield format['extension'], format['description'] @@ -55,8 +55,8 @@ def generate_extension_inx_files(alter_data): name = extension.name() template = env.get_template(f'{name}.xml') write_inx_file(name, template.render(alter_data, - formats=pyembroidery_output_formats(), - debug_formats=pyembroidery_debug_formats(), + formats=pystitch_output_formats(), + debug_formats=pystitch_debug_formats(), threadcatalog=threadcatalog(), font_categories=FONT_CATEGORIES, layer_commands=layer_commands(), |
