import sys sys.path.insert(0, '..') import install from install import Installer i = Installer('alsamp/tree1', cgi = 1) i.add_exec('tree.py') i.add_html('tree.html') i.install()