[./fonttools] Add ./Lib to python path

See f5bf9b04de (commitcomment-19636642)
This commit is contained in:
Behdad Esfahbod 2016-10-31 11:55:15 -07:00
parent f5bf9b04de
commit c5c942293a

View File

@ -1,6 +1,13 @@
#!/usr/bin/env python
from __future__ import print_function, division, absolute_import
import sys
import os.path
libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'Lib'))
sys.path.insert(0, libdir)
from fontTools.__main__ import main
if __name__ == '__main__':
main()