Splitting out helper scripts as a separate project
See original GitHub issueI would like to consider and discuss here the idea of eventually splitting fontbakery into 2 separate python packages:
- (a) FontBakery itself as a tool exclusively focused on quality assurance of font families. A.k.a. the “ultimate typography testsuite”.
- (b) A second package to host helper scripts such as the plethora of scripts we currently have in our
bin/
directory. A whole bunch of tiny tools for inspecting and hotfixing font files.
The rationale to that proposal relates to a common complain about the difficulty to install fontbakery on a system due to its large number of dependencies. The testsuite portion of the code still requires a lot of dependencies, but there are things that are really only needed on the scripts.
It seems to me that a fontbakery-scripts package could pretty easily list fontbakery as a dependency in its setup.py so that it would be doable to install everything by simply performing a pip install fontbakery-scripts, but users who only need to run the testsuite can skip installing the scripts and their extra dependencies.
A second reason is simply the fact that right now the project tries to accomplish 2 fairly separate purposes: (a) QA automated reports and (b) code snippets for font inspection & hotfixing.
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (10 by maintainers)
Top GitHub Comments
Congrats!
This is a pretty big change so I suggest to tag and release 0.3.3 soon (like this week)
I moved stuff from 0.3.3 to 0.3.4 - does https://github.com/googlefonts/fontbakery/milestone/61 look doable this week?
pkgutil-style namespace packages work well in both python 2 and 3 https://packaging.python.org/guides/packaging-namespace-packages/