Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 56b2504144
Fetching contributors…

Cannot retrieve contributors at this time

file 64 lines (58 sloc) 1.835 kb
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
import sys
from os.path import join
try:
    import setuptools
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()

from setuptools import setup, find_packages

version = "1.3"
readme = open("README.txt").read().replace(':class:', '').replace(':mod:', '')
changes = open(join("docs", "changes.rst")).read()

STORAGE_REQUIREMENTS = [
    "zope.annotation",
    "zope.component",
    "zope.interface",
    "Persistence",
]

SPHINX_REQUIREMENTS = [
    "Sphinx",
    "repoze.sphinx.autointerface",
]

if sys.version_info[:3] < (2, 5, 0):
    # uuid is only required before Python 2.5
    STORAGE_REQUIREMENTS.append("uuid")

setup(name="plone.scale",
      version=version,
      description="Image scaling",
      long_description=readme + "\n" + changes,
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Environment :: Web Environment",
          "Framework :: Plone",
          "Framework :: Zope2",
          "License :: OSI Approved :: BSD License",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
        ],
      keywords="image scaling",
      author='Plone Foundation',
      author_email='plone-developers@lists.sourceforge.net',
      url='http://pypi.python.org/pypi/plone.scale',
      license="BSD",
      packages=find_packages(exclude=["ez_setup"]),
      namespace_packages=["plone"],
      include_package_data=True,
      zip_safe=True,
      test_suite="plone.scale",
      install_requires=[
          # We can't actually depend on PIL because not everyone can install it
          # as an egg.
          #"PIL",
          "setuptools",
          ],
      extras_require = dict(
          storage = STORAGE_REQUIREMENTS,
          sphinx = STORAGE_REQUIREMENTS + SPHINX_REQUIREMENTS,
          ),
      )
Something went wrong with that request. Please try again.