From cd6af4d0fdcbfbbab92992beb33a8b518375d926 Mon Sep 17 00:00:00 2001 From: oz123 Date: Thu, 29 Aug 2013 13:38:03 +0200 Subject: [PATCH] add installer --- setup.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7e0ed84 --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python3 +""" +script to install ctt +""" +import sys +from setuptools import setup +sys.path.insert(0, 'lib/') +import ctt + +setup(name='ctt', + version=ctt.VERSION, + # description=pwman.description, + author=ctt.AUTHOR, + author_email=ctt.WWW, + url=ctt.WWW, + license="GNU GPL", + packages=['lib/ctt', + ], + scripts=['bin/ctt'], + zip_safe=True, + # install_requires=['pycrypto>=2.6', + # 'colorama>=0.2.4'], + classifiers=[ + 'Environment :: Console', + 'Intended Audience :: End Users/Desktop', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'License :: GPL version 3', + 'Operating System :: POSIX', + 'Programming Language :: Python', + 'Requires-Python:: 3.x'] + )