mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
* release/1.0.0: (68 commits) Tests now run again. PEP8-ing and whitespacing. Requiring versiontools and patching up our setup.py. adding introspection rule for users with south PEP8 and import tweaks. fixing typo ImageSpecFile is a proper File Typo fix A list of ImageSpec names are now stored on the model. AdminThumbnailView is now AdminThumbnail Docs typo fix Adds explicit import of resize module to processors fixing bad import in docs adding name to AUTHORS adding test for new api Moved Crop and Fit to resize module. More docs edits. Typo fix. Installation instructions. Embracing duck typing. ... Conflicts: README.rst
41 lines
1.2 KiB
Python
41 lines
1.2 KiB
Python
#/usr/bin/env python
|
|
import codecs
|
|
import os
|
|
import sys
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
if 'publish' in sys.argv:
|
|
os.system('python setup.py sdist upload')
|
|
sys.exit()
|
|
|
|
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
|
|
|
|
setup(
|
|
name='django-imagekit',
|
|
version=':versiontools:imagekit:',
|
|
description='Automated image processing for Django models.',
|
|
long_description=read(os.path.join(os.path.dirname(__file__), 'README.rst')),
|
|
author='Justin Driscoll',
|
|
author_email='justin@driscolldev.com',
|
|
maintainer='Bryan Veloso',
|
|
maintainer_email='bryan@revyver.com',
|
|
license='BSD',
|
|
url='http://github.com/jdriscoll/django-imagekit/',
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Environment :: Web Environment',
|
|
'Framework :: Django',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python :: 2.5',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Topic :: Utilities'
|
|
],
|
|
setup_requires=[
|
|
'versiontools >= 1.8',
|
|
],
|
|
)
|