kopia lustrzana https://github.com/inkstitch/inkstitch
Merge pull request #2441 from inkstitch/bkmgit/remove-stringcase-dependency
Drop stringcase dependencybkmgit/replace-colormath-by-colorspacious
commit
ce7ec2b981
|
@ -7,7 +7,6 @@ import os
|
|||
|
||||
import inkex
|
||||
from lxml.etree import Comment
|
||||
from stringcase import snakecase
|
||||
|
||||
from ..commands import is_command, layer_commands
|
||||
from ..elements import EmbroideryElement, nodes_to_elements
|
||||
|
@ -32,7 +31,9 @@ class InkstitchExtension(inkex.EffectExtension):
|
|||
|
||||
@classmethod
|
||||
def name(cls):
|
||||
return snakecase(cls.__name__)
|
||||
# Convert CamelCase to snake_case
|
||||
return cls.__name__[0].lower() + ''.join([x if x.islower() else f'_{x.lower()}'
|
||||
for x in cls.__name__[1:]])
|
||||
|
||||
def hide_all_layers(self):
|
||||
for g in self.document.getroot().findall(SVG_GROUP_TAG):
|
||||
|
|
|
@ -18,7 +18,6 @@ requests
|
|||
# we need already submitted fixes - so let's grab them from the github repository
|
||||
colormath @ git+https://github.com/gtaylor/python-colormath.git@4a076831fd5136f685aa7143db81eba27b2cd19a
|
||||
|
||||
stringcase
|
||||
flask>=2.2.0
|
||||
fonttools
|
||||
trimesh>=3.15.2
|
||||
|
|
Ładowanie…
Reference in New Issue