21
21
# along with this program. If not, see <http://www.gnu.org/licenses/>.
26
27
if __name__ == "__main__":
29
30
from os.path import join, abspath, exists
36
32
# check for a development source directory and use that if it's there
37
33
PACKAGE_DIR = join( abspath( sys.path[ 0 ] ), "..", "lib" )
38
34
if exists( join( PACKAGE_DIR, "stdhome", "the.py" ) ):
40
36
sys.path.insert( 0, PACKAGE_DIR )
46
42
from stdhome.program import Program