summaryrefslogtreecommitdiff
path: root/scripts/build-v2.py
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-04-17 17:26:10 -0700
committerRoozbeh Pournader <roozbeh@google.com>2015-04-17 17:26:10 -0700
commitb6dd3c12ecf5db071af8b94ef701a52cb91e88a8 (patch)
tree807aa4f2f61c214ec070b614a8a265b49a909447 /scripts/build-v2.py
parentaa64beca82fb32b3b3e32d1a8a8640330df83876 (diff)
Clean up Makefile and build-v2.py path references.
Diffstat (limited to 'scripts/build-v2.py')
-rw-r--r--scripts/build-v2.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build-v2.py b/scripts/build-v2.py
index 15679e8..a861a76 100644
--- a/scripts/build-v2.py
+++ b/scripts/build-v2.py
@@ -13,10 +13,9 @@
# limitations under the License.
+import os
import sys
-sys.path.insert(0, "%s/scripts/lib" % BASEDIR)
-
from fontTools.misc.transform import Transform
from robofab.objects.objectsRF import RPoint
@@ -26,6 +25,10 @@ from fontbuild.italics import transformFLGlyphMembers
from fontbuild.mix import Master
from fontbuild.mix import Mix
+# The root of the Roboto tree
+BASEDIR = os.path.abspath(
+ os.path.join(os.path.dirname(__file__), os.pardir))
+
# Masters
rg = Master("%s/src/v2/Roboto_Regular.ufo" % BASEDIR)