Commits

Anonymous committed a0eddb1 Draft

Use pure python marsh if Cython built version is missing

Comments (0)

Files changed (1)

 try:
     from rfoo.marsh import dumps, loads
 except ImportError:
-    sys.stderr.write("""
-===========================================================    
-Did you just try to import rfoo directly from its source distribution?
-Well, that's possible, but first you need to build the 
-Cython extension rfoo.marsh (inplace) with:
-    python setup.py build_ext --inplace
-===========================================================\n""")
-    raise
+    from rfoo.pure_marsh import dumps, loads
 
 try:
     import thread