Skip to content

Commit a11319c

Browse files
committed
Properly remove Pillow dependency
1 parent 354a908 commit a11319c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = { "file" = "LICENSE" }
77
authors = [{ "name" = "chaudominic", "email" = "chaudominic2@gmail.com" }]
88
keywords = ["rlottie", "lottie", "tgs", "ctypes"]
99
classifiers = ["Topic :: Multimedia :: Graphics"]
10-
dependencies = ["Pillow"]
10+
dependencies = []
1111
dynamic = ["version"]
1212

1313
[project.urls]

rlottie_python/rlottie_wrapper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
PILLOW_LOADED = True
1212
except ModuleNotFoundError:
13+
14+
class Image:
15+
pass
16+
1317
PILLOW_LOADED = False
1418
from .rlottiecommon import LOTLayerNode, LOTMarkerList
1519

0 commit comments

Comments
 (0)