root / larpe / tags / release-1.1.1 / larpe / __init__.py @ d03cb81c
1 |
'''Setup path and load Lasso library'''
|
---|---|
2 |
try: |
3 |
from quixote.ptl import compile_package |
4 |
compile_package(__path__) |
5 |
except ImportError: |
6 |
pass
|
7 |
|
8 |
import sys |
9 |
import os |
10 |
sys.path.insert(0, os.path.dirname(__file__)) |
11 |
|
12 |
import qommon |
13 |
|
14 |
try: |
15 |
import lasso |
16 |
except ImportError: |
17 |
lasso = None |
18 |
|
19 |
if lasso and not hasattr(lasso, 'SAML2_SUPPORT'): |
20 |
lasso.SAML2_SUPPORT = False |
21 |
|