diff options
Diffstat (limited to '_find_fuse_parts.py')
-rw-r--r-- | _find_fuse_parts.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/_find_fuse_parts.py b/_find_fuse_parts.py deleted file mode 100644 index 2a04ab3..0000000 --- a/_find_fuse_parts.py +++ /dev/null @@ -1,22 +0,0 @@ -import sys, os, glob -from os.path import realpath, dirname, join -from traceback import format_exception - -ddd = realpath(join(dirname(sys.argv[0]), '..')) - -for d in [ddd, '.']: - for p in glob.glob(join(d, 'build', 'lib.*')): - sys.path.insert(0, p) - -try: - import fuse -except ImportError: - raise RuntimeError, """ - -! Got exception: -""" + "".join([ "> " + x for x in format_exception(*sys.exc_info()) ]) + """ -! Have you ran `python setup.py build'? -! -! We've done our best to find the necessary components of the FUSE bindings -! even if it's not installed, we've got no clue what went wrong for you... -""" |