14 lines
264 B
Python
14 lines
264 B
Python
|
#! /usr/bin/env python
|
||
|
|
||
|
import sys
|
||
|
import os
|
||
|
try:
|
||
|
libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))
|
||
|
sys.path.insert(0, libdir)
|
||
|
except:
|
||
|
# probably running inside py2exe which doesn't set __file__
|
||
|
pass
|
||
|
|
||
|
import main
|
||
|
main.main()
|