Mercurial > hg > cropresize
annotate setup.py @ 2:0676435d1186
include README file; bump version
author | k0s <k0scist@gmail.com> |
---|---|
date | Fri, 05 Mar 2010 16:46:05 -0500 |
parents | 0a2302b6377b |
children | 2be0070c6f95 |
rev | line source |
---|---|
0
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
1 from setuptools import setup, find_packages |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
2 import sys, os |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
3 |
2 | 4 try: |
5 description = file('README.txt').read() | |
6 except: | |
7 description = '' | |
8 | |
9 version = '0.1.3' | |
0
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
10 |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
11 setup(name='cropresize', |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
12 version=version, |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
13 description="crop and resize an image without doing the math yourself", |
2 | 14 long_description=description, |
0
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
15 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
16 keywords='image', |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
17 author='Jeff Hammel', |
1 | 18 author_email='k0scist@gmail.com', |
0
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
19 url='http://pypi.python.org/pypi/cropresize', |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
20 license='GPL', |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
22 include_package_data=True, |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
23 zip_safe=False, |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
24 install_requires=[ |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
25 # -*- Extra requirements: -*- |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
26 'PIL', |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
27 ], |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
28 dependency_links=[ |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
29 "http://dist.repoze.org/PIL-1.1.6.tar.gz", |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
30 ], |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
31 entry_points=""" |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
32 # -*- Entry points: -*- |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
33 [console_scripts] |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
34 crop-resize = cropresize:main |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
35 """, |
0a54e5bd2875
initial import of cropresive from https://svn.openplans.org/svn/standalone/cropresize
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
36 ) |