29
29
        from os.path import join, abspath, exists
 
36
31
        # check for a development source directory and use that if it's there
 
37
32
        PACKAGE_DIR = join( abspath( sys.path[ 0 ] ), "..", "lib" )
 
38
33
        if exists( join( PACKAGE_DIR, "stdhome", "the.py" ) ):
 
40
35
                sys.path.insert( 0, PACKAGE_DIR )
 
46
41
        from stdhome.program import Program