old_contents: # Copyright (c) 2008 Simplistix Ltd
  # See license.txt for license details.
  
  import os
  from setuptools import setup, find_packages
  
  name = 'mortar'
  package_dir = os.path.join(os.path.dirname(__file__),name)
  
  setup(
      name=name,
      version=file(os.path.join(package_dir,'version.txt')).read().strip(),
      author='Chris Withers',
      author_email='chris@simplistix.co.uk',
      license='MIT',
      description="An implementation independent content environment.",
      long_description=open(os.path.join(package_dir,'docs','description.txt')).read(),
      url='http://www.mortar.org',
      classifiers=[
      'Development Status :: 2 - Pre-Alpha',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: MIT License',
      ],    
      packages=find_packages(),
      zip_safe=False,
      include_package_data=True,
      install_requires=(
      'zope.interface',
      'zope.component',
      'lxml < 1.9',
      'python-dateutil',
      )
      )
  
  # to build and upload the eggs, do:
  # python setup.py sdist bdist_egg register upload
  # ...or...
  #  bin/buildout setup setup.py sdist bdist_egg register upload
  # ...on a unix box!
  
  # To check how things will show on pypi, install docutils and then:
  # bin/buildout -q setup setup.py --long-description | rst2html.py --link-stylesheet --stylesheet=http://www.python.org/styles/styles.css > dist/desc.html
  
new_contents: # Copyright (c) 2008 Simplistix Ltd
  # See license.txt for license details.
  
  import os
  from setuptools import setup, find_packages
  
  name = 'mortar'
  package_dir = os.path.join(os.path.dirname(__file__),name)
  
  setup(
      name=name,
      version=file(os.path.join(package_dir,'version.txt')).read().strip(),
      author='Chris Withers',
      author_email='chris@simplistix.co.uk',
      license='MIT',
      description="An implementation independent content environment.",
      long_description=open(os.path.join(package_dir,'docs','description.txt')).read(),
      url='http://www.mortar.org',
      classifiers=[
      'Development Status :: 2 - Pre-Alpha',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: MIT License',
      ],    
      packages=find_packages(),
      zip_safe=False,
      include_package_data=True,
      install_requires=(
      'zope.interface',
      'zope.component',
      'lxml',
      'python-dateutil',
      )
      )
  
  # to build and upload the eggs, do:
  # python setup.py sdist bdist_egg register upload
  # ...or...
  #  bin/buildout setup setup.py sdist bdist_egg register upload
  # ...on a unix box!
  
  # To check how things will show on pypi, install docutils and then:
  # bin/buildout -q setup setup.py --long-description | rst2html.py --link-stylesheet --stylesheet=http://www.python.org/styles/styles.css > dist/desc.html
  
subject: move to latest version of lxml and python2.6