old_contents: import os
  
  from setuptools import setup, find_packages
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  requires = [
      'Flask',
      'Flask-Assets',
      'Flask-Login',
      'Flask-Mail',
      'Flask-Principal',
      'Flask-SQLAlchemy',
      'Flask-Script',
      'Flask-Security',
      'Flask-WTF',
      'Jinja2',
      'Mako',
      'MarkupSafe',
      'Pygments',
      'SQLAlchemy',
      'Sphinx',
      'WTForms',
      'Werkzeug',
      'alembic',
      'amqp',
      'anyjson',
      'billiard',
      'blinker',
      'cssmin',
      'docutils',
      'factory-boy',
      'itsdangerous',
      'jsmin',
      'kombu',
      'mock',
      'nose',
      'passlib',
      'python-dateutil',
      'redis',
      'simplejson',
      'six',
      'sphinxcontrib-httpdomain',
      'webassets',
      'wsgiref',
      'Flask-Migrate',
      'psycopg2',
  ]
  
  setup(
      name='backend',
      version='1.0',
      description='Flask Backend',
      long_description='Flask Backend for RESTfool APIs',
      classifiers=[
          "Programming Language :: Python",
          "Topic :: Internet :: WWW/HTTP",
          "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
      ],
      author='Peter Lada',
      author_email='peter@peterlada.com',
      url='https://github.org/peterlada/flask-backend',
      keywords='',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=['nose', 'coverage'],
      namespace_packages=['backend'],
      test_suite="nose.collector",
      entry_points={
          'console_scripts': [
              'backend = manage:manager.run',
          ],
      },
  )
  
new_contents: import os
  
  from setuptools import setup, find_packages
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  requires = [
      'alembic',
      'amqp',
      'anyjson',
      'billiard',
      'blinker',
      'cssmin',
      'docutils',
      'factory-boy',
      'Flask-Assets',
      'Flask-Login',
      'Flask-Mail',
      'Flask-Migrate',
      'Flask-Principal',
      'Flask-Script',
      'Flask-Security',
      'Flask-SQLAlchemy',
      'Flask-WTF',
      'Flask',
      'itsdangerous',
      'Jinja2',
      'jsmin',
      'kombu',
      'Mako',
      'MarkupSafe',
      'mock',
      'nose',
      'passlib',
      'psycopg2',
      'Pygments',
      'python-dateutil',
      'redis',
      'simplejson',
      'six',
      'Sphinx',
      'sphinxcontrib-httpdomain',
      'SQLAlchemy',
      'webassets',
      'Werkzeug',
      'wsgiref',
      'WTForms',
  ]
  
  setup(
      name='backend',
      version='1.0',
      description='Flask Backend',
      long_description='Flask Backend for RESTfool APIs',
      classifiers=[
          "Programming Language :: Python",
          "Topic :: Internet :: WWW/HTTP",
          "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
      ],
      author='Peter Lada',
      author_email='peter@peterlada.com',
      url='https://github.org/peterlada/flask-backend',
      keywords='',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=['nose', 'coverage'],
      namespace_packages=['backend'],
      test_suite="nose.collector",
      entry_points={
          'console_scripts': [
              'backend = manage:manager.run',
          ],
      },
  )
  
subject: sort setup.py requires dependencies