From 09c1235889d2c6f88fba47d3ffd9005732c59886 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 16 Sep 2013 15:42:00 +0200 Subject: Fixed includes for new package layout --- pixelterm/gifterm.py | 3 ++- pixelterm/pixelterm.py | 2 +- pixelterm/resolvecolor.py | 2 +- pixelterm/unpixelterm.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'pixelterm') diff --git a/pixelterm/gifterm.py b/pixelterm/gifterm.py index 252e49c..67ee99f 100755 --- a/pixelterm/gifterm.py +++ b/pixelterm/gifterm.py @@ -1,6 +1,7 @@ #!/usr/bin/env python -import os, sys, argparse, os.path, json, time, signal, atexit, pixelterm +import os, sys, argparse, os.path, json, time, signal, atexit +from pixelterm import pixelterm from PIL import Image, GifImagePlugin, ImageSequence clear_screen = '\033[H\033[2J' diff --git a/pixelterm/pixelterm.py b/pixelterm/pixelterm.py index 4239b98..c1a16e8 100644 --- a/pixelterm/pixelterm.py +++ b/pixelterm/pixelterm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import xtermcolors +from pixelterm import xtermcolors reset_sequence = '\033[39;49m' diff --git a/pixelterm/resolvecolor.py b/pixelterm/resolvecolor.py index 83c1330..7fab111 100755 --- a/pixelterm/resolvecolor.py +++ b/pixelterm/resolvecolor.py @@ -2,7 +2,7 @@ def main(): import os, sys, argparse, os.path, json, re - import xtermcolors + from pixelterm import xtermcolors # Resolve HTML-style hex RGB color codes to xterm-256color color numbers diff --git a/pixelterm/unpixelterm.py b/pixelterm/unpixelterm.py index 8d1c120..46c0c83 100644 --- a/pixelterm/unpixelterm.py +++ b/pixelterm/unpixelterm.py @@ -2,7 +2,7 @@ import os, sys, os.path from collections import defaultdict -import xtermcolors +from pixelterm import xtermcolors from PIL import Image, PngImagePlugin try: import re2 as re -- cgit