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/outputs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/inx/outputs.py') diff --git a/lib/inx/outputs.py b/lib/inx/outputs.py index 0cf9ac84..51907f79 100644 --- a/lib/inx/outputs.py +++ b/lib/inx/outputs.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_output_formats(): - for format in pyembroidery.supported_formats(): +def pystitch_output_formats(): + for format in pystitch.supported_formats(): if 'writer' in format: description = format['description'] if format['category'] == "color": @@ -30,6 +30,6 @@ def generate_output_inx_files(alter_data): env = build_environment() template = env.get_template('output.xml') - for format, description, mimetype, category in pyembroidery_output_formats(): + for format, description, mimetype, category in pystitch_output_formats(): name = f"output_{format.upper()}" write_inx_file(name, template.render(alter_data, format=format, mimetype=mimetype, description=description)) -- cgit v1.2.3