old_contents: # -*- coding: utf-8 -*-
  """Setup file for easy installation"""
  from os.path import join, dirname
  from setuptools import setup
  
  
  version = __import__('social').__version__
  long_description = open(join(dirname(__file__), 'README.rst')).read()
  
  setup(name='python-social-auth',
        version=version,
        author='Matías Aguirre',
        author_email='matiasaguirre@gmail.com',
        description='Python social authentication made simple.',
        license='BSD',
        keywords='django, flask, webpy, openid, oauth, social auth',
        url='https://github.com/omab/python-social-auth',
        packages=['social',
                  'social.storage',
                  'social.apps',
                  'social.apps.django_app',
                  'social.apps.django_app.default',
                  'social.apps.django_app.me',
                  'social.apps.webpy_app',
                  'social.apps.flask_app',
                  'social.backends',
                  'social.pipeline',
                  'social.strategies'],
        #package_data={'social': ['locale/*/LC_MESSAGES/*']},
        long_description=long_description,
        install_requires=['oauth2>=1.5.167',
                          'python_openid>=2.2'],
        classifiers=['Development Status :: 4 - Beta',
                     'Topic :: Internet',
                     'License :: OSI Approved :: BSD License',
                     'Intended Audience :: Developers',
                     'Environment :: Web Environment',
                     'Programming Language :: Python :: 2.5',
                     'Programming Language :: Python :: 2.6',
                     'Programming Language :: Python :: 2.7'],
        zip_safe=False)
  
new_contents: # -*- coding: utf-8 -*-
  """Setup file for easy installation"""
  from os.path import join, dirname
  from setuptools import setup
  
  
  version = __import__('social').__version__
  
  LONG_DESCRIPTION = """
  Python Social Auth is an easy to setup social authentication/registration
  mechanism with support for several frameworks and auth providers.
  
  Crafted using base code from django-social-auth, implements a common interface
  to define new authentication providers from third parties. And to bring support
  for more frameworks and ORMs.
  """
  
  
  def long_description():
      """Return long description from README.rst if it's present
      because it doesn't get installed."""
      try:
          return open(join(dirname(__file__), 'README.rst')).read()
      except IOError:
          return LONG_DESCRIPTION
  
  
  setup(name='python-social-auth',
        version=version,
        author='Matías Aguirre',
        author_email='matiasaguirre@gmail.com',
        description='Python social authentication made simple.',
        license='BSD',
        keywords='django, flask, webpy, openid, oauth, social auth',
        url='https://github.com/omab/python-social-auth',
        packages=['social',
                  'social.storage',
                  'social.apps',
                  'social.apps.django_app',
                  'social.apps.django_app.default',
                  'social.apps.django_app.me',
                  'social.apps.webpy_app',
                  'social.apps.flask_app',
                  'social.backends',
                  'social.pipeline',
                  'social.strategies'],
        #package_data={'social': ['locale/*/LC_MESSAGES/*']},
        long_description=long_description(),
        install_requires=['oauth2>=1.5.167',
                          'python_openid>=2.2'],
        classifiers=['Development Status :: 4 - Beta',
                     'Topic :: Internet',
                     'License :: OSI Approved :: BSD License',
                     'Intended Audience :: Developers',
                     'Environment :: Web Environment',
                     'Programming Language :: Python :: 2.5',
                     'Programming Language :: Python :: 2.6',
                     'Programming Language :: Python :: 2.7'],
        zip_safe=False)
  
subject: Fix long_description on setup.py file