Commits

J.A. Roberts Tunney committed 12b091d

compile shared object to home dir so its more likely to work

  • Participants
  • Parent commits d87b886

Comments (0)

Files changed (1)

File fabulous/xterm256.py

     """
     import os
     import ctypes
-    from os.path import join, dirname, getmtime, exists
-    library = join(dirname(__file__), '_xterm256.so')
+    from os.path import join, dirname, getmtime, exists, expanduser
+    # library = join(dirname(__file__), '_xterm256.so')
+    library = expanduser('~/.xterm256.so')
     sauce = join(dirname(__file__), '_xterm256.c')
     if not exists(library) or getmtime(sauce) > getmtime(library):
         build = "gcc -fPIC -shared -o %s %s" % (library, sauce)