summaryrefslogtreecommitdiff
path: root/run_editor.py
blob: df06094a295154d682f18cd370e68f25ca88f2a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/env python

import sys
import os


try:
    __file__
except NameError:
    pass
else:
    libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))
    sys.path.insert(0, libdir)

import editor
editor.editor()