summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/wx-3.0-msw/wx/tools/Editra/launcher.py
blob: dffb81823ca0f3f1d3f02a9d0f0db37e59ef5176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python2

# This module provides an importable module that can do the same
# things as the Editra script, namely, set up the sys.path and
# sys.modules for Editra and then start Editra running.  This is done
# by using execfile() to execute the code in the Editra script as if
# it was in this module, and then the importer of this module can call
# the main() function defined there.

import os
launcher = os.path.join(os.path.dirname(__file__), 'Editra')
execfile(launcher)