/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to src/stdhome.in

  • Committer: Tim Marston
  • Date: 2014-02-26 19:10:31 UTC
  • Revision ID: tim@ed.am-20140226191031-elcqy5j09h2syn2j
moved copy-in, copy-out and deployment conflict checking to a set of "walkers";
bzr vcs back-end now parses affected files during update; deployment state now
includes affected files

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
        # check for a development source directory and use that if it's there
33
33
        PACKAGE_DIR = join( abspath( sys.path[ 0 ] ), "..", "lib" )
34
 
        if exists( join( PACKAGE_DIR, "stdhome", "stdhome.py" ) ):
 
34
        if exists( join( PACKAGE_DIR, "stdhome", "the.py" ) ):
35
35
                print >> sys.stderr, "!!! using development packages !!!"
36
36
                sys.path.insert( 0, PACKAGE_DIR )
37
37
        else:
38
38
                del PACKAGE_DIR
39
39
 
40
40
        # start main program
41
 
        from stdhome.stdhome import *
42
 
        Stdhome( "@PACKAGE_VERSION@" ).run()
 
41
        from stdhome import the
 
42
        from stdhome.program import Program
 
43
        the.program = Program( "@PACKAGE_VERSION@" )
 
44
        the.program.run()