Closed pawamoy closed 4 months ago
Thanks for the report @pawamoy !
The issue was that the PyPi version of chalk
depended on the original planar
libary and not on this fork. I've now added the correct dependency in chalk
's setup.py
and I've also followed your advice and added the planar
fork to PyPi. So
uv pip install chalk-diagrams
should work now.
Amazing, thank you so much @danoneata! I tried and it works perfectly, thanks!
I'm trying to install
chalk-diagrams
with uv, but it fails with this error:Looking at
setup.py
here, I see that it usesdistutils
, which IIUC is deprecated. The setup importsExtension
, but doesn't use it. I don't see any C code in the sources, so I believe you could switch tofrom setuptools import setup
.Then if you push a release to PyPI.org you won't have to depend on
planar
usinggit+https://github.com/chalk-diagrams/planar
inchalk-diagrams
, which requires cloning and building from sources every time.Happy to send a PR!