aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <s@jaseg.de>2013-09-16 15:42:00 +0200
committerjaseg <s@jaseg.de>2013-09-16 15:42:00 +0200
commit09c1235889d2c6f88fba47d3ffd9005732c59886 (patch)
treee39f9c85a5c8e73f6c5ceed76067c42683699c2f
parent5355b1d878ceca3000e15b96126626bc6aefe15d (diff)
downloadpixelterm-09c1235889d2c6f88fba47d3ffd9005732c59886.tar.gz
pixelterm-09c1235889d2c6f88fba47d3ffd9005732c59886.tar.bz2
pixelterm-09c1235889d2c6f88fba47d3ffd9005732c59886.zip
Fixed includes for new package layout
-rwxr-xr-xpixelterm/gifterm.py3
-rw-r--r--pixelterm/pixelterm.py2
-rwxr-xr-xpixelterm/resolvecolor.py2
-rw-r--r--pixelterm/unpixelterm.py2
4 files changed, 5 insertions, 4 deletions
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