old_contents: from setuptools import setup, find_packages
  import sys, os
  
  here = os.path.abspath(os.path.dirname(__file__))
  README = open(os.path.join(here, 'README.rst')).read()
  NEWS = open(os.path.join(here, 'NEWS.txt')).read()
  
  version = '0.1'
  
  install_requires = [
      # List your project dependencies here.
      # For more details, see:
      # http://packages.python.org/distribute/setuptools.html#declaring-dependencies
      'filecache',
      'flask',
      'gdal',
      'geoalchemy',
      'GitPython',
      'httplib2',
      'numpy',
      'mimerender',
      'modestmaps',
      'PIL',
      'pyproj',
      'pyspatialite',
      'shapely',
      'shove',
      'sqlalchemy',
      'tilestache',
      'selector',         # only required for examples
      # 'wsgiutils',        # only required for examples
  
      # 'mapnik', # unfortunately cannot be pip installed
      # 'pycairo', # pycairo does not build properly via pip/easy_install :(
  ]
  
  
  setup(name='foldbeam',
      version=version,
      description="Nodal compositor for geographic data.",
      long_description=README + '\n\n' + NEWS,
      classifiers=[
        # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      ],
      keywords='',
      author='Rich Wareham',
      author_email='rjw57@cantab.net',
      url='',
      license='Apache 2.0',
      packages=find_packages(),
      package_data = {
          'foldbeam.renderer': [ 'data/*' ],
      },
      zip_safe=False,
      install_requires=install_requires,
      entry_points={
          'console_scripts': [
              'foldbeam-render=foldbeam.rendering.tool.render:main',
          ]
      },
      test_suite='tests',
  )
  
new_contents: from setuptools import setup, find_packages
  import sys, os
  
  here = os.path.abspath(os.path.dirname(__file__))
  README = open(os.path.join(here, 'README.rst')).read()
  NEWS = open(os.path.join(here, 'NEWS.txt')).read()
  
  version = '0.1'
  
  install_requires = [
      # List your project dependencies here.
      # For more details, see:
      # http://packages.python.org/distribute/setuptools.html#declaring-dependencies
      'filecache',
      'flask',
      'gdal',
      'geoalchemy',
      'GitPython',
      'httplib2',
      'numpy',
      'mimerender',
      'modestmaps',
      'Pillow',
      'pyproj',
      'pyspatialite',
      'shapely',
      'shove',
      'sqlalchemy',
      'tilestache',
      'selector',         # only required for examples
      # 'wsgiutils',        # only required for examples
  
      # 'mapnik', # unfortunately cannot be pip installed
      # 'pycairo', # pycairo does not build properly via pip/easy_install :(
  ]
  
  
  setup(name='foldbeam',
      version=version,
      description="Nodal compositor for geographic data.",
      long_description=README + '\n\n' + NEWS,
      classifiers=[
        # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      ],
      keywords='',
      author='Rich Wareham',
      author_email='rjw57@cantab.net',
      url='',
      license='Apache 2.0',
      packages=find_packages(),
      package_data = {
          'foldbeam.renderer': [ 'data/*' ],
      },
      zip_safe=False,
      install_requires=install_requires,
      entry_points={
          'console_scripts': [
              'foldbeam-render=foldbeam.rendering.tool.render:main',
          ]
      },
      test_suite='tests',
  )
  
subject: use Pillow fork of PIL