repo.or.cz
/
reinteract
/
rox.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
When saving with a ROX savebox, update the search path
[reinteract/rox.git]
/
bin
/
uninst.py
blob
d2004169c445ffb89dcffaebf5e5101edfa270c8
1
#!/usr/bin/python
2
3
import
os
4
import
sys
5
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'
)
9
10
sys
.
path
[
0
:
0
] = [
libdir
]
11
12
import
reinteract
13
import
reinteract
.
main