Mercurial > hg > cropresize
view setup.py @ 6:0cd9a1362310
fix bug where PIL lives in different places
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 13 Dec 2010 20:08:15 -0800 |
parents | c89738f3f417 |
children | 230fb4ae30c7 |
line wrap: on
line source
from setuptools import setup, find_packages import sys, os try: filename = os.path.join(os.path.dirname(__file__), 'README.txt') description = file(filename).read() except: description = '' version = '0.1.5' setup(name='cropresize', version=version, description="crop and resize an image without doing the math yourself", long_description=description, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='image', author='Jeff Hammel', author_email='k0scist@gmail.com', url='http://pypi.python.org/pypi/cropresize', license='GPL', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ # -*- Extra requirements: -*- 'PIL', ], dependency_links=[ "http://dist.repoze.org/PIL-1.1.6.tar.gz", ], entry_points=""" # -*- Entry points: -*- [console_scripts] crop-resize = cropresize:main """, )