From a79ab969533320582482856758394e74739b152e Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 29 Jul 2013 18:51:18 +0200 Subject: Made a proper python package out of this. --- setup.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..983d45a --- /dev/null +++ b/setup.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python3 +from setuptools import setup + +import os, os.path +import sys + +ver = "1.0" + +def read(filename): + return open(os.path.join(os.path.dirname(__file__), filename)).read() + + + +if sys.version_info < (3,0): + print('Oops, only python >= 3.0 supported!') + sys.exit() + +setup(name = 'pixelterm', + version = ver, + description = 'Render pixely images on your terminal. Now also with animated GIF support.', + license = 'BSD', + author = 'jaseg', + author_email = 'pixelterm@jaseg.net', + url = 'https://github.com/jaseg/pixelterm', + py_modules = ['pixelterm', 'unpixelterm'], + scripts = ['pixelterm', + 'unpixelterm', + 'colorcube', + 'gifterm', + 'resolvecolor', + 'pngmeta'], + zip_safe = True, + classifiers = [ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Information Technology', + 'Intended Audience :: Intended Audience :: End Users/Desktop', + 'License :: Freely Distributable', + 'License :: OSI Approved :: BSD License', + 'Programming Language :: Python :: 3', + 'Topic :: Internet', + 'Topic :: Graphics', + 'Topic :: System :: Networking' + 'Topic :: Text Processing :: Filters', + 'Topic :: Utilities', + ], + + long_description = read('README.md'), + dependency_links = [], +) -- cgit