diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-09-03 22:55:49 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-09-03 22:55:49 +0300 |
commit | c833e252c925e8dd68108660710ca835d95daa6f (patch) | |
tree | 6b2e28264ed45efd7f054e453b622098d0d875b8 /misc/version.py | |
parent | 8c1a4c181ef12000179dfec541f1af87e9b03122 (diff) | |
download | inter-c833e252c925e8dd68108660710ca835d95daa6f.tar.xz |
Major overhaul, moving from UFO2 to Glyphs and UFO3, plus a brand new and much simpler fontbuild
Diffstat (limited to 'misc/version.py')
-rwxr-xr-x | misc/version.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/misc/version.py b/misc/version.py deleted file mode 100755 index d6136ea9f..000000000 --- a/misc/version.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env python -# encoding: utf8 -from __future__ import print_function -import os, sys -from collections import OrderedDict -from ConfigParser import RawConfigParser - - -def main(): - srcDir = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'src') - config = RawConfigParser(dict_type=OrderedDict) - config.read(os.path.join(srcDir, 'fontbuild.cfg')) - sys.stdout.write(config.get('main', 'version')) - -if __name__ == '__main__': - main() |