10 Commits

Author SHA1 Message Date
Cosimo Lupo
0df4997661
prevent cython.compiled raise AttributeError if cython not properly installed
It's possible sometimes that 'import cython' does not fail but then 'cython.compiled' raises AttributeError.
It actually happened in our internal production environment...

Similar issue to https://github.com/pydantic/pydantic/pull/573 and https://github.com/ipython/ipython/issues/13294
2023-03-02 17:43:38 +00:00
Behdad Esfahbod
a21b71ef01 [cu2qu] Add all_quadratic=True parameter
If set to False, then either a single quadratic or a single cubic
is returned.
2023-02-21 13:14:01 -07:00
Nikolaus Waxweiler
d584daa8fd Blacken code 2022-12-13 11:26:36 +00:00
Behdad Esfahbod
80033bb2a0 [cu2qu] Move benchmark code into cu2qu.benchmark module 2022-08-25 14:37:59 -06:00
Simon Cozens
ecc764ecc0
[docs] Document cu2qu library (#1937)
[docs] Document cu2qu library

Reorganise the documentation so that everything is in one place and users are more clearly pointed to the modules which are likely to be useful for their purposes. (I still think it’s worth having at least a brief reference to ``cu2qu.cli`` in there, as a way of reminding users that there is a command-line implementation.) Docstrings are provided for non-API methods where I could understand them - trusting these will be useful for future maintainers.
2020-05-15 10:53:41 +01:00
Cosimo Lupo
97941ad7a5
cu2qu: restore sub-package folder 2020-04-01 18:31:47 +01:00
Cosimo Lupo
3f414cdb08
cu2qu: remove sub-package, make single module 2020-03-31 13:42:18 +01:00
Cosimo Lupo
c2e8403937
cu2qu: remove from __future__ imports 2020-03-31 13:38:51 +01:00
Cosimo Lupo
5d5cddfc08
Replace cu2qu.cython shadow module with mock namespace 2020-03-31 13:23:19 +01:00
Cosimo Lupo
f9a3961c66
cu2qu: move all modules to Lib/fontTools/cu2qu 2020-03-31 12:32:50 +01:00