When saving with a ROX savebox, update the search path
[reinteract/rox.git] / bin / uninst.py
blobd2004169c445ffb89dcffaebf5e5101edfa270c8
1 #!/usr/bin/python
3 import os
4 import sys
6 script_path = os.path.realpath(os.path.abspath(sys.argv[0]))
7 topdir = os.path.dirname(os.path.dirname(script_path))
8 libdir = os.path.join(topdir, 'lib')
10 sys.path[0:0] = [libdir]
12 import reinteract
13 import reinteract.main