15 Commits

Author SHA1 Message Date
Cosimo Lupo
175a16209c [setup.py] use setuptools if available, or fall back to distutils
modify scripts to work as setuptools 'console_scripts', where the main
function takes no arguments;
add empty identifier "" in 'packages' argument of setup, to install the
standalone sstruct.py and xmlWriter.py for legacy support;
remove py2exe since it is made redundant by setuptools 'console_scripts';
remove custom 'build_ext' command since the eexecOpmodule.c is no longer
present.
2015-05-20 11:02:43 +01:00
Behdad Esfahbod
bd67253118 Some more whitespace fixes from pep8 tool 2015-04-26 01:59:01 -04:00
Behdad Esfahbod
1ae29591ef from __future__ import absolute_import
Such that our Python 2 is closer to Python 3.

Part of https://github.com/behdad/fonttools/issues/77
2014-01-14 15:07:50 +08:00
Behdad Esfahbod
283fb26820 By default, don't load fonts lazily
Lazy loading has implications on how people use objects.
So, by default, don't load lazily.  This only affects
GSUB/GDEF/GPOS/etc and is closer to what fonttools used
to do traditionally.

Turn lazy loading on in subset and inspect.
2013-12-16 00:52:29 -05:00
Behdad Esfahbod
153ec40209 Fix a few pychecker warnings
Fixes https://github.com/behdad/fonttools/issues/58
2013-12-04 01:15:46 -05:00
Behdad Esfahbod
b475c03b4d [inspect] py23 Use new-style classes 2013-11-28 18:53:30 -05:00
Behdad Esfahbod
aa9cc89b29 [inspect] py23 from __future__ import division and adjust divisions 2013-11-27 17:46:06 -05:00
Behdad Esfahbod
b21c903fa3 [inspect] py23 from __future__ import print_function 2013-11-27 17:27:22 -05:00
Behdad Esfahbod
4a818a2b98 [inspect] Use py23 2013-11-27 15:25:00 -05:00
Behdad Esfahbod
3e78b60ff6 [inspect] 2to3 --fix=basestring with manual fixup 2013-11-27 14:01:44 -05:00
Behdad Esfahbod
d7e8d81a7a [inspect] 2to3 --fix=print with manual fixup 2013-11-27 04:57:17 -05:00
Behdad Esfahbod
227a495ef0 [inspect] Handle more exceptions 2013-10-02 17:52:04 -04:00
Behdad Esfahbod
b61d7ac553 Relicense new tools to the original fonttools license
They were under Apache.
2013-09-19 20:03:20 -04:00
Khaled Hosny
0e37f89e70 Letovers from pyftfontview → pyftinspect rename
Fixes “setup.py install”.
2013-09-12 11:13:39 +02:00
Behdad Esfahbod
cebcf17ba7 Rename pyftfontview to pyftinspect
Makes more sense.
2013-09-06 18:23:13 -04:00