1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
# -*- encoding: utf8 -*-
from setuptools import setup, find_packages
from setuptools.command.test import test
from sorl import __version__, __author__, __maintainer__, __email__, __license__
class TestCommand(test):
def run(self):
from tests.runtests import runtests
runtests()
setup(
name='sorl-thumbnail',
version=__version__,
description='Thumbnails for Django',
long_description=open('README.rst').read(),
author=__author__,
author_email='mikko@aino.se',
maintainer=__maintainer__,
maintainer_email=__email__,
license=__license__,
url='https://github.com/mariocesar/sorl-thumbnail',
packages=find_packages(exclude=['tests', 'tests.*']),
platforms='any',
zip_safe=False,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Multimedia :: Graphics',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
],
cmdclass={"test": TestCommand},
)
|