jiffyclub / palettable

Color palettes for Python
https://jiffyclub.github.io/palettable/
Other
768 stars 73 forks source link

Add setuptools as a runtime dependency #40

Closed asottile closed 2 years ago

asottile commented 2 years ago

This package relies on pkg_resources (provided by setuptools) at runtime: https://github.com/jiffyclub/palettable/blob/768d5ef8d14437d4bffa27afb96e4990c919a25d/palettable/colorbrewer/colorbrewer.py#L7

an alternative implementation would be to move to importlib.resources (and/or the importlib-resources backport)

jiffyclub commented 2 years ago

Super, thanks!