pyup-bot
979927bef3
create pyup.io config file
2018-10-23 16:17:18 +01:00
Cosimo Lupo
e2478f8911
setup.cfg: add ALLOW_UNICODE and ELLIPSIS to pytest's 'doctest_optionflags'
2018-10-22 11:20:24 +01:00
Cosimo Lupo
edd01b3fa0
Bump version: 3.31.0 → 3.31.1.dev0
2018-10-21 19:09:09 +01:00
Cosimo Lupo
3230dec69b
Release 3.31.0
2018-10-21 19:05:10 +01:00
Cosimo Lupo
77c3e0ce7d
typo [skip ci]
2018-10-21 19:04:18 +01:00
Cosimo Lupo
f111666f9f
Update changelog [skip ci]
2018-10-21 19:03:04 +01:00
Cosimo Lupo
c1a327514a
README: normalize list indentation [skip ci]
2018-10-21 18:35:54 +01:00
Cosimo Lupo
b96922aeff
typo [skip ci]
2018-10-21 18:28:53 +01:00
Cosimo Lupo
32f8735aa5
README: mention extras and ufoLib dependencies
2018-10-21 18:26:26 +01:00
Cosimo Lupo
fe4381df56
ufoLib: add readData, writeData and removeData methods
2018-10-21 15:42:02 +01:00
Ben Kiel
96ca09c39e
Merge pull request #1340 from benkiel/ufoLib_creator
...
Change UFOLib creator
2018-10-19 11:44:58 -05:00
Ben Kiel
8bb9d0ed6c
Change UFOLib creator
2018-10-19 11:25:52 -05:00
Cosimo Lupo
13cf8ef1ab
Merge pull request #1335 from anthrotype/fonttools-ufolib
...
merge ufoLib into fontTools.ufoLib
2018-10-19 14:28:20 +01:00
Cosimo Lupo
931f8024eb
designspace_test: must use plistlib.Data for py2 compatibility
...
grr...
2018-10-18 20:10:59 +01:00
Cosimo Lupo
97d5044109
designspaceLib_test: fixup expected test results
2018-10-18 20:04:27 +01:00
Cosimo Lupo
6a7493adbb
designspaceLib: port to using lxml via fontTools.misc.etree
...
indentation is now two spaces like lxml (unchangeable) default
https://github.com/fonttools/fonttools/pull/1335#issuecomment-431112494
2018-10-18 20:03:54 +01:00
Cosimo Lupo
9e85f3bcc3
svgLib: use fontTools.misc.etree
2018-10-18 19:50:26 +01:00
Cosimo Lupo
8081bf57fa
etree/plistlib/glifLib: using (default) single quotes in XML_DECLARATION
...
https://github.com/fonttools/fonttools/pull/1335#issuecomment-431118568
2018-10-18 19:49:52 +01:00
Cosimo Lupo
6db88d7cb7
remove deprecated fontTools.varLib.designspace
2018-10-18 18:40:54 +01:00
Cosimo Lupo
9557c6a229
fix deprecation warnings when using ABC from collections module
2018-10-18 18:12:43 +01:00
Cosimo Lupo
4be92cc6da
README: minor [skip ci]
...
In b1093c8a I removed py36 from the default tox envlist.
I kept only py27 and py37.
This doesn't mean one can't run tests against py36 as well.
Just that running tox without args, or without setting TOXENV variable
will run py27 and py37 by default
2018-10-18 16:39:06 +01:00
Cosimo Lupo
e871b2f41d
pointPen: add missing classes to __all__
2018-10-18 16:12:58 +01:00
Cosimo Lupo
6b1bf4247b
move pointPen to fontTools.pens subpackage; keep ufoLib.pointPen alias
2018-10-18 16:03:09 +01:00
Cosimo Lupo
a869f56a5f
.travis/run.sh: re-run the xml-related tests also without lxml
2018-10-18 15:47:42 +01:00
Cosimo Lupo
88b6688fbd
tox: remove unnecessary 'nocov' factor
...
tox now allows to use exclamation mark to negate an environment factor.
2018-10-18 15:40:32 +01:00
Cosimo Lupo
b1093c8ac1
tox: add extras; allow to test with/without lxml
...
calling 'tox -e py37-cov-nolxml' will run tests without lxml,
using built-in ElementTree library
2018-10-18 15:40:32 +01:00
Cosimo Lupo
b23a208805
ufoLib: fix doctests failing on py27 for unicode_literals
...
I hate doctests.
2018-10-18 15:40:32 +01:00
Cosimo Lupo
8ba98afb92
etree: remove 'XMLTreeBuilder' from __all__
...
only present in py27 elementtree:
6e57382464/Lib/xml/etree/ElementTree.py (L1676-L1677)
2018-10-18 15:40:32 +01:00
Cosimo Lupo
d7cc75bb04
requirements.txt: use scipy on cpython, munkres on pypy
2018-10-18 15:40:32 +01:00
Cosimo Lupo
f9f7363fc0
setup.cfg: mute some warnings from pytest log
...
https://github.com/fonttools/fonttools/issues/868
2018-10-18 15:40:32 +01:00
Cosimo Lupo
eb08cc0fbe
setup.py: remove pytest-runner; require pytest to run tests
...
python setup.py test no longer works. The 'tests_require' keyword in setup()
is no longer supported by setuptools.
We use tox to bootstrap the test environment, so we don't need that
2018-10-18 15:40:07 +01:00
Cosimo Lupo
06f199f8f3
requirements.txt: pin fs module version
...
this is to make sure the test runs are more deterministic/reproducible
We'll set up pyup.io bot to keep this up to date
2018-10-18 15:40:07 +01:00
Cosimo Lupo
783707644b
setup.py: add optional dependencies to extras_require
2018-10-18 15:40:07 +01:00
Cosimo Lupo
25c3e369c6
setup.py: remove unused 'pass' command
...
we now call twine tool directly to upload distributions to pypi,
so this is no longer needed. It was a hack anyway
2018-10-18 11:16:05 +01:00
Cosimo Lupo
3e19f6d985
keep fontTools.ufoLib.etree as a shim module for fontTools.misc.etree
2018-10-18 11:12:08 +01:00
Cosimo Lupo
081b0fc090
keep fontTools.ufoLib.plistlib compatibility shim
...
the old readPlist, writePlist are only kept in fontTools.ufoLib.plistlib,
not in fontTools.misc.plistlib
2018-10-18 11:11:34 +01:00
Jens Kutilek
76e7b7a786
Add PointPen support to TT Glyph objects ( #1334 )
...
* Add drawPoints method to _g_l_y_f.Glyph
* Add drawPoints method to ttFont._TTGlyph
2018-10-18 11:52:38 +02:00
Cosimo Lupo
2cc1f418c7
rename Tests/ufoLib/test_*.py to Tests/ufoLib/*_test.py
...
for constency with the rest of fontTools tests.
Also, in setup.cfg we tell pytest to only search for modules named like these
2018-10-17 17:50:06 +01:00
Cosimo Lupo
0cef799a08
move test_{etree,plistlib}.py to misc/{etree,plistlib}_test.py
2018-10-17 17:46:37 +01:00
Cosimo Lupo
176b5f763d
change 'import ufoLib' to 'import fontTools.ufoLib'
2018-10-17 17:43:28 +01:00
Cosimo Lupo
7ee7ccd568
move ufoLib.etree to fontTools.misc.etree
...
we can use this ElementTree-like XML API for ttx or designspaceLib, not
just ufoLib
2018-10-17 17:30:39 +01:00
Cosimo Lupo
e42bfd65f4
move ufoLib.plistlib to fontTools.misc.plistlib
...
As PLIST are not only UFOs (e.g. DesignSpace documents)
2018-10-17 17:29:34 +01:00
Cosimo Lupo
1f7155c432
Merge branch 'fold-into-fontTools' into fonttools-ufolib
2018-10-17 17:21:44 +01:00
Cosimo Lupo
f03c2faf12
remove ufoLib repo configuration files that overlap with fonttools
2018-10-17 17:20:53 +01:00
Cosimo Lupo
6096fa7d4d
remove appveyor/travis CI setup files
2018-10-17 17:18:22 +01:00
Cosimo Lupo
2066785551
remove notes.txt
2018-10-17 17:17:29 +01:00
Cosimo Lupo
280d3aaf9f
remove Documentation folder
...
we shall re-add the sphinx setup in a separate PR
2018-10-17 17:17:02 +01:00
Cosimo Lupo
d372016d64
move Documentation/ufoLib to Doc/source/ufolib
2018-10-17 17:14:34 +01:00
Cosimo Lupo
ee94843cdd
move tests to Tests/ufoLib
2018-10-17 17:06:12 +01:00
Cosimo Lupo
7cd80a37dd
move Lib/ufoLib to Lib/fontTools/ufoLib
2018-10-17 17:05:17 +01:00