renamed cython_types.pyx python_types.py to types.py[x], switching between them is setup.py's job
moved help texts to over.docs wip over.app implementation
This commit is contained in:
parent
a4665ae277
commit
031f7627b8
5 changed files with 137 additions and 625 deletions
|
@ -3,24 +3,21 @@
|
|||
|
||||
import sys
|
||||
|
||||
#from . import app
|
||||
from . import app
|
||||
from . import aux
|
||||
from . import cmd
|
||||
from . import docs
|
||||
from . import file
|
||||
from . import misc
|
||||
from . import text
|
||||
from . import types
|
||||
from . import version
|
||||
|
||||
print = text.Output("over.__init__", stream=sys.stderr)
|
||||
|
||||
try:
|
||||
from . import cython_types as types
|
||||
except:
|
||||
from . import python_types as types
|
||||
|
||||
print("unable to load C implementation, using python instead", print.tl.warn)
|
||||
|
||||
core = aux.DeprecationForwarder(sys.modules[__name__], "over.core", "over")
|
||||
textui = aux.DeprecationForwarder(text, "over.core.textui", "over.text")
|
||||
|
||||
del sys
|
||||
for module in [types]:
|
||||
if module.__file__[-2:] == "py":
|
||||
print("<r>unable to load C implementation<.> of <y>%s<.>, falling back to pure Python instead" %(module.__name__), print.tl.warn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue