File: buildExample.py

package info (click to toggle)
mutatormath 3.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,820 kB
  • sloc: python: 2,581; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- coding: utf-8 -*-

""" 

	Example of a build script for a specific mutatorMath project.
	A script like this could live near the designspace description.
	It could be called to build a bunch of instances without opening any application. 

"""
from mutatorMath.ufo import build
import os
here = os.path.join(os.getcwd(), 'data')
build(here, outputUFOFormatVersion=2)
print('done')