old_contents: import os
  from setuptools import setup, find_packages
  import django_oauth2_lite
  
  
  def read(fname):
      try:
          return open(os.path.join(os.path.dirname(__file__), fname)).read()
      except IOError:
          return ''
  
  
  setup(
      name="django-oauth2-lite",
      version=django_oauth2_lite.__version__,
      description=read('DESCRIPTION'),
      long_description=read('README.rst'),
      keywords='oauth2',
      packages=find_packages(),
      author='Leif Johansson',
      author_email='leifj@sunet.se',
      url="",
      include_package_data=True,
      test_suite='django-oauth2-lite.tests.runtests.runtests',
  )
  
new_contents: import os
  from setuptools import setup, find_packages
  import django_oauth2_lite
  
  
  def read(fname):
      try:
          return open(os.path.join(os.path.dirname(__file__), fname)).read()
      except IOError:
          return ''
  
  template_patterns = [
  'templates/**/*',
  ]
  
  package_data = dict(
      (package_name, template_patterns) for package_name in find_packages()
  )
  
  setup(
      name="django-oauth2-lite",
      version=django_oauth2_lite.__version__,
      description=read('DESCRIPTION'),
      long_description=read('README.rst'),
      keywords='oauth2',
      packages=find_packages(),
      author='Leif Johansson',
      author_email='leifj@sunet.se',
      url="",
      include_package_data=True,
      package_data=package_data,
      test_suite='django-oauth2-lite.tests.runtests.runtests',
  )
  
subject: include templates in install