From 22a0374ead2edc1bf56d3588c47c99f23bd21745 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 26 Mar 2014 12:16:47 +0100 Subject: Fixed setup.py for console usage --- pixelterm/gifterm.py | 2 +- pixelterm/pixelterm.py | 2 +- setup.py | 5 ----- 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', -- cgit