Made a proper python package out of this.
This commit is contained in:
parent
62e62f1eac
commit
a79ab96953
11 changed files with 176 additions and 173 deletions
50
setup.py
Executable file
50
setup.py
Executable file
|
|
@ -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 = [],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue