text: from setuptools import setup, Command
  import subprocess
  
  
  class PyTest(Command):
      user_options = []
  
      def initialize_options(self):
          pass
  
      def finalize_options(self):
          pass
  
      def run(self):
          errno = subprocess.call(['py.test'])
          raise SystemExit(errno)
  
  setup(
      name='Flask-Image-Upload-Thing',
      version='0.1.3',
      url='http://github.com/FelixLoether/flask-image-upload-thing',
      author='Oskari Hiltunen',
      author_email='flask-image-upload-thing@loethr.net',
      description='A Flask extension to help you add file uploading '
                  'functionality to your site.',
      long_description=open('README.rst').read(),
      packages=['flask_uploads'],
      install_requires=['python-loaders==0.2.3'],
      platforms='any',
      cmdclass={'test': PyTest},
      classifiers=[
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Operating System :: OS Independent',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ]
  )
  