From 731ac2868e30dbccf5771abf79564d8bab1156c2 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 27 Jul 2025 07:28:20 +0200 Subject: rename pyembroidery to pystitch (#3889) ... and remove it as a submodule (use pip to install) --- lib/inx/inputs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/inx/inputs.py') diff --git a/lib/inx/inputs.py b/lib/inx/inputs.py index cd8b57bd..667f71c9 100755 --- a/lib/inx/inputs.py +++ b/lib/inx/inputs.py @@ -3,13 +3,13 @@ # Copyright (c) 2010 Authors # Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. -import pyembroidery +import pystitch from .utils import build_environment, write_inx_file -def pyembroidery_input_formats(): - for format in pyembroidery.supported_formats(): +def pystitch_input_formats(): + for format in pystitch.supported_formats(): if 'reader' in format and format['category'] in ['embroidery', 'color', 'stitch', 'quilting', 'debug']: yield format['extension'], format['description'] @@ -18,6 +18,6 @@ def generate_input_inx_files(alter_data): env = build_environment() template = env.get_template('input.xml') - for format, description in pyembroidery_input_formats(): + for format, description in pystitch_input_formats(): name = f"input_{format.upper()}" write_inx_file(name, template.render(alter_data, format=format, description=description)) -- cgit v1.2.3