2008-09-30 20:42:52 +04:00
|
|
|
"""This is a special package because it contains (or will contain, as of now)
|
|
|
|
two parallel implementations of the same code. One implementation, the original,
|
|
|
|
uses the SWIG Python bindings. That's great, but those leak RAM and have a few
|
2010-08-11 21:57:34 +04:00
|
|
|
other quirks. The goal is to have this file automatically contain the "best"
|
|
|
|
available implementation without the user having to configure what is actually
|
|
|
|
present.
|
2008-09-30 20:42:52 +04:00
|
|
|
"""
|
|
|
|
|
2010-08-11 21:57:35 +04:00
|
|
|
from common import *
|
|
|
|
|
2010-08-11 21:57:35 +04:00
|
|
|
try:
|
|
|
|
from subvertpy_wrapper import *
|
|
|
|
except ImportError, e:
|
2010-08-11 21:57:35 +04:00
|
|
|
try:
|
|
|
|
from svn_swig_wrapper import *
|
|
|
|
except ImportError:
|
|
|
|
# propagate the subvertpy error; it's easier to install
|
|
|
|
import subvertpy_wrapper
|