head	1.4;
access;
symbols;
locks; strict;
comment	@# @;
expand	@b@;


1.4
date	2006.08.31.10.01.24;	author spike;	state dead;
branches;
next	1.3;

1.3
date	2006.08.18.07.15.35;	author spike;	state Exp;
branches;
next	1.2;

1.2
date	2006.08.18.07.15.11;	author spike;	state dead;
branches;
next	1.1;

1.1
date	2006.07.24.16.18.41;	author spike;	state Exp;
branches;
next	;


desc
@@


1.4
log
@*** empty log message ***
@
text
@#!/usr/bin/python2.4
import sys
import os

#try:
#    import pkg_resources
#    pkg_resources.require('SQLObject>0.6.1')
#except (ImportError, pkg_resources.DistributionNotFound):
#    # Oh well, we tried...
#    pass

try:
    import sqlobject.manager
except ImportError:
    try:
        here = __file__
    except NameError:
        here = sys.argv[0]
    updir = os.path.join(
        os.path.dirname(os.path.dirname(os.path.abspath(here))),
        'sqlobject')
    if os.path.exists(updir):
        sys.path.insert(0, os.path.dirname(updir))
    else:
        print 'I cannot find the sqlobject module'
        print 'If SQLObject is installed, you may need to set $PYTHONPATH'
        sys.exit(3)
    # Now we have to get rid of possibly stale modules from that import
    # up there
    for name, value in sys.modules.items():
        if name.startswith('sqlobject'):
            del sys.modules[name]

from sqlobject.manager import command
command.the_runner.run(sys.argv)
@


1.3
log
@*** empty log message ***
@
text
@@


1.2
log
@*** empty log message ***
@
text
@@


1.1
log
@new libraries
@
text
@@

