summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-07-27 07:28:20 +0200
committerGitHub <noreply@github.com>2025-07-27 07:28:20 +0200
commit731ac2868e30dbccf5771abf79564d8bab1156c2 (patch)
tree29f3de6e7694b8ce1cac19756e4f143fd29e8bcd /bin
parent4dd03c18acbec4c44943c224ea9b66e262e9fd76 (diff)
rename pyembroidery to pystitch (#3889)
... and remove it as a submodule (use pip to install)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pyembroidery-convert6
-rwxr-xr-xbin/pyembroidery-gettext10
-rwxr-xr-xbin/pystitch-convert6
-rwxr-xr-xbin/pystitch-gettext10
-rwxr-xr-xbin/style-check2
5 files changed, 17 insertions, 17 deletions
diff --git a/bin/pyembroidery-convert b/bin/pyembroidery-convert
deleted file mode 100755
index ac58e3e5..00000000
--- a/bin/pyembroidery-convert
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-import pyembroidery
-
-pyembroidery.convert(sys.argv[1], sys.argv[2])
diff --git a/bin/pyembroidery-gettext b/bin/pyembroidery-gettext
deleted file mode 100755
index f4e844b9..00000000
--- a/bin/pyembroidery-gettext
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env python
-
-import pyembroidery
-
-
-# generate fake python code containing the descriptions of pyembroidery formats
-# as gettext calls so that pybabel will extract them into messages.po
-for format in pyembroidery.supported_formats():
- print("# L10N description for pyembroidery file format: %s" % format['extension'])
- print("_(%s)" % repr(format['description']))
diff --git a/bin/pystitch-convert b/bin/pystitch-convert
new file mode 100755
index 00000000..92e814a2
--- /dev/null
+++ b/bin/pystitch-convert
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import sys
+import pystitch
+
+pystitch.convert(sys.argv[1], sys.argv[2])
diff --git a/bin/pystitch-gettext b/bin/pystitch-gettext
new file mode 100755
index 00000000..06871527
--- /dev/null
+++ b/bin/pystitch-gettext
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+import pystitch
+
+
+# generate fake python code containing the descriptions of pystitch formats
+# as gettext calls so that pybabel will extract them into messages.po
+for format in pystitch.supported_formats():
+ print("# L10N description for pystitch file format: %s" % format['extension'])
+ print("_(%s)" % repr(format['description']))
diff --git a/bin/style-check b/bin/style-check
index bdac3a76..fa4cc745 100755
--- a/bin/style-check
+++ b/bin/style-check
@@ -5,4 +5,4 @@
# Instead of files, "--diff" may be passed to check only the lines changed
# by a diff piped to standard input.
-flake8 --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py,build,src,dist,./*-metadata.py,./pyembroidery-format-descriptions.py "${@:-.}"
+flake8 --count --max-complexity=10 --max-line-length=150 --statistics --exclude=__init__.py,build,src,dist,./*-metadata.py,./pystitch-format-descriptions.py "${@:-.}"