old_contents: import os
  from setuptools import find_packages, setup
  
  with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
      README = readme.read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  setup(
      name='redsys_gateway',
      version='0.4.0',
      packages=find_packages(),
      include_package_data=True,
      license='MIT License',
      description='A simple, clean and less dependant Django app to handle payments through RedSys.',
      long_description=README,
      url='https://github.com/ddiazpinto/django-redsys',
      author='David D&iacute;az',
      author_email='d.diazp@gmail.com',
      classifiers=[
          'Environment :: Web Environment',
          'Framework :: Django',
          'Framework :: Django :: 1.10',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ],
      dependency_links=[
          'https://github.com/ddiazpinto/python-redsys.git@0.2.4#egg=redsys'
      ],
  )
new_contents: import os
  from setuptools import find_packages, setup
  
  with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
      README = readme.read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  setup(
      name='redsys_gateway',
      version='0.4.2',
      packages=find_packages(),
      include_package_data=True,
      license='MIT License',
      description='A simple, clean and less dependant Django app to handle payments through RedSys.',
      long_description=README,
      url='https://github.com/ddiazpinto/django-redsys',
      author='David D&iacute;az',
      author_email='d.diazp@gmail.com',
      classifiers=[
          'Environment :: Web Environment',
          'Framework :: Django',
          'Framework :: Django :: 1.10',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ],
      dependency_links=[
          'https://github.com/ddiazpinto/python-redsys.git@0.2.5#egg=redsys'
      ],
  )
subject: BUMP version 0.4.2