specify pycairo as 'interpolatable' extra dependency
Fixes https://github.com/fonttools/fonttools/issues/3382
This commit is contained in:
parent
33d8b4633c
commit
1eccbda852
@ -138,6 +138,13 @@ are required to unlock the extra features named "ufo", etc.
|
||||
* `munkres <https://pypi.python.org/pypi/munkres>`__: a pure-Python
|
||||
module that implements the Hungarian or Kuhn-Munkres algorithm.
|
||||
|
||||
To plot the results to a PDF or HTML format, you also need to install:
|
||||
|
||||
* `pycairo <https://pypi.org/project/pycairo/>`__: Python bindings for the
|
||||
Cairo graphics library. Note that wheels are currently only available for
|
||||
Windows, for other platforms see pycairo's `installation instructions
|
||||
<https://pycairo.readthedocs.io/en/latest/getting_started.html>`__.
|
||||
|
||||
*Extra:* ``interpolatable``
|
||||
|
||||
- ``Lib/fontTools/varLib/plot.py``
|
||||
|
3
setup.py
3
setup.py
@ -120,6 +120,9 @@ extras_require = {
|
||||
# use pure-python alternative on pypy
|
||||
"scipy; platform_python_implementation != 'PyPy'",
|
||||
"munkres; platform_python_implementation == 'PyPy'",
|
||||
# to output PDF or HTML reports. NOTE: wheels are only available for
|
||||
# windows currently, other platforms will need to build from source.
|
||||
"pycairo",
|
||||
],
|
||||
# for fontTools.varLib.plot, to visualize DesignSpaceDocument and resulting
|
||||
# VariationModel
|
||||
|
Loading…
x
Reference in New Issue
Block a user