Add quixote work-around for python 2.6
* for every directory containing *.ptl files the next lines must be added to the __init__.py file: from quixote.ptl import compile_package compile_package(__path__) * enable_ptl() must not be used.
This commit is contained in:
parent
18eb0aa18b
commit
7b6012e21a
|
@ -1,7 +1,9 @@
|
|||
from quixote.ptl import compile_package
|
||||
compile_package(__path__)
|
||||
|
||||
import __builtin__
|
||||
|
||||
from quixote import enable_ptl, get_publisher
|
||||
enable_ptl()
|
||||
|
||||
from publisher import get_cfg, get_logger
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
from quixote.ptl import compile_package
|
||||
compile_package(__path__)
|
|
@ -0,0 +1,2 @@
|
|||
from quixote.ptl import compile_package
|
||||
compile_package(__path__)
|
|
@ -1,3 +1,5 @@
|
|||
from quixote.ptl import compile_package
|
||||
compile_package(__path__)
|
||||
from quixote import get_publisher
|
||||
|
||||
import base
|
||||
|
|
Loading…
Reference in New Issue