Graphviz installation : --include-path not recognized anymore
sinhaharsh opened this issue · comments
README provides the following command to install graphviz,
pip install pygraphviz --install-option="--include-path=/usr/include/graphviz" \
--install-option="--library-path=/usr/lib/graphviz/"
However this command doesn't work anymore as per pypa/setuptools#2740
It should be modified to
pip install --global-option=build_ext --global-option="-I/usr/local/include/graphviz/" --global-option="-L/usr/local/lib/graphviz" pygraphviz
Thank you @sinhaharsh . I wonder if we should just link to the pygraphviz INSTALL instructions at https://pygraphviz.github.io/documentation/stable/install.html
Thoughts?
Ah, I missed that somehow. Thanks @sinhaharsh . Would you like to submit a PR with your README change? This will help record your contribution.
It seems the note is present at the documentation page for Contributing-Code. However, no such note is present in the README and on the installation page.
There are only 3 occurrences for the following code across the repository.
Line 129 in 2cd8e81
Sure. I will send a PR for these changes.