From e350a61b8db8c9a0a28e3683a932d64e47f3d3fe Mon Sep 17 00:00:00 2001 From: Cedric Porter Date: Mon, 30 Jul 2012 16:51:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E5=AE=8C=E6=88=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ setup.py | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index fbad13d..6b3cb88 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ *.jpg *.so Images/ +build/ +dist/ +MANIFEST diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..db62b56 --- /dev/null +++ b/setup.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# author: Hua Liang [ Stupid ET ] +# email: et@everet.org +# website: http://EverET.org +# + +from distutils.core import setup, Extension + +NAME = "EffectLab" +DESCRIPTION = "Python Image Processing Effect Lab" +AUTHOR = "Hua Liang [Stupid ET]" +HOMEPAGE = "http://everet.org/2012/07/effectlab.html" +DOWNLOAD_URL = "https://github.com/cedricporter/EffectLab/zipball/master" + +setup(name = NAME, + version = '1.0', + author = 'Hua Liang [Stupid ET]', + author_email = 'et@everet.org', + url = HOMEPAGE, + download_url = DOWNLOAD_URL, + description = DESCRIPTION, + long_description = DESCRIPTION, + packages = ['EffectLab'], + license = "Python (MIT style)", + platforms = "Python 1.5.2 and later and PIL 1.1.7 and later.", + ext_modules = [Extension('EffectLab.EffectLabCore', ['EffectLab/core.c']), + ] + )