old_contents: #!/usr/bin/env python
  
  import os
  from io import open
  from setuptools import setup
  
  
  try:
      import pypandoc
      description = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
      description = open('README.md', encoding='utf-8').read()
  
  
  def get_packages(package):
      return [dirpath
              for dirpath, dirnames, filenames in os.walk(package)
              if os.path.exists(os.path.join(dirpath, '__init__.py'))]
  
  
  setup(
      name='djoser',
      version='0.5.3',
      packages=get_packages('djoser'),
      license='MIT',
      author='SUNSCRAPERS',
      description='REST version of Django authentication system.',
      author_email='info@sunscrapers.com',
      long_description=description,
      install_requires=[],
      include_package_data=True,
      url='https://github.com/sunscrapers/djoser',
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 3',
      ]
  )
  
new_contents: #!/usr/bin/env python
  
  import os
  from io import open
  from setuptools import setup
  
  
  try:
      import pypandoc
      description = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
      description = open('README.md', encoding='utf-8').read()
  
  
  def get_packages(package):
      return [dirpath
              for dirpath, dirnames, filenames in os.walk(package)
              if os.path.exists(os.path.join(dirpath, '__init__.py'))]
  
  
  setup(
      name='djoser',
      version='0.5.4',
      packages=get_packages('djoser'),
      license='MIT',
      author='SUNSCRAPERS',
      description='REST version of Django authentication system.',
      author_email='info@sunscrapers.com',
      long_description=description,
      install_requires=[],
      include_package_data=True,
      url='https://github.com/sunscrapers/djoser',
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 3',
      ]
  )
  
subject: Bump version to 0.5.4.