aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2014-03-26 12:16:47 +0100
committerjaseg <jaseg@jaseg.net>2014-03-26 12:20:43 +0100
commit22a0374ead2edc1bf56d3588c47c99f23bd21745 (patch)
tree025ad55d6e6a1a6a39b3f71089a2145325cdcafb
parent67a0cf000a4bd01ae6b40241ad984856d3fedb1c (diff)
downloadpixelterm-22a0374ead2edc1bf56d3588c47c99f23bd21745.tar.gz
pixelterm-22a0374ead2edc1bf56d3588c47c99f23bd21745.tar.bz2
pixelterm-22a0374ead2edc1bf56d3588c47c99f23bd21745.zip
Fixed setup.py for console usage
-rwxr-xr-xpixelterm/gifterm.py2
-rwxr-xr-xpixelterm/pixelterm.py2
-rwxr-xr-xsetup.py5
3 files changed, 2 insertions, 7 deletions
diff --git a/pixelterm/gifterm.py b/pixelterm/gifterm.py
index 4c87978..23380a0 100755
--- a/pixelterm/gifterm.py
+++ b/pixelterm/gifterm.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import os, sys, argparse, os.path, json, time, signal, atexit
-import pixelterm
+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 74fe9f1..334e500 100755
--- 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/setup.py b/setup.py
index 7d835da..2a7a1ac 100755
--- a/setup.py
+++ b/setup.py
@@ -24,11 +24,6 @@ setup(name = 'pixelterm',
url = 'https://github.com/jaseg/pixelterm',
packages = ['pixelterm'],
install_requires=['pillow'],
- scripts = [ 'pixelterm/pixelterm.py',
- 'pixelterm/unpixelterm.py',
- 'pixelterm/gifterm.py',
- 'pixelterm/colorcube.py',
- 'pixelterm/resolvecolor.py'],
entry_points = {'console_scripts': [
'pixelterm=pixelterm.pixelterm:main',
'unpixelterm=pixelterm.unpixelterm:main',