old_contents: # -*- coding: utf-8 -*-
  
  import os
  import sys
  import subprocess
  
  try:
      from setuptools import find_packages, setup, Command
  except ImportError:
      from distutils.core import find_packages, setup, Command
  
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  DESCRIPTION = "Minimal database Model management for MongoDB"
  
  try:
      LONG_DESCRIPTION = open(os.path.join(here, "README.rst")).read()
  except IOError:
      pass
  
  
  CLASSIFIERS = (
      "Development Status :: 3 - Alpha",
      "Intended Audience :: Developers",
      "Programming Language :: Python",
      "Topic :: Database",
  )
  
  
  class PyTest(Command):
      """Unfortunately :mod:`setuptools` support only :mod:`unittest`
      based tests, thus, we have to overider build-in ``test`` command
      to run :mod:`pytest`."""
      user_options = []
      initialize_options = finalize_options = lambda self: None
  
      def run(self):
          errno = subprocess.call([sys.executable, "runtests.py"])
          raise SystemExit(errno)
  
  
  requires = ["pymongo"]
  
  setup(name="minimongo",
        version="0.2.6",
        packages=find_packages(),
        cmdclass={"test": PyTest},
        platforms=["any"],
  
        install_requires = ["pymongo>=1.9"],
        zip_safe=False,
        include_package_data=True,
  
        author="Steve Lacy",
        author_email="slacy@slacy.com",
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,
        classifiers=CLASSIFIERS,
        keywords=["mongo", "mongodb", "pymongo", "orm"],
        url="http://github.com/slacy/minimongo",
  )
  
new_contents: # -*- coding: utf-8 -*-
  
  import os
  import sys
  import subprocess
  
  try:
      from setuptools import find_packages, setup, Command
  except ImportError:
      from distutils.core import find_packages, setup, Command
  
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  DESCRIPTION = "Minimal database Model management for MongoDB"
  
  try:
      LONG_DESCRIPTION = open(os.path.join(here, "README.rst")).read()
  except IOError:
      pass
  
  
  CLASSIFIERS = (
      "Development Status :: 3 - Alpha",
      "Intended Audience :: Developers",
      "Programming Language :: Python",
      "Topic :: Database",
  )
  
  
  class PyTest(Command):
      """Unfortunately :mod:`setuptools` support only :mod:`unittest`
      based tests, thus, we have to overider build-in ``test`` command
      to run :mod:`pytest`."""
      user_options = []
      initialize_options = finalize_options = lambda self: None
  
      def run(self):
          errno = subprocess.call([sys.executable, "runtests.py"])
          raise SystemExit(errno)
  
  
  requires = ["pymongo"]
  
  setup(name="minimongo",
        version="0.2.8b1",
        packages=find_packages(),
        cmdclass={"test": PyTest},
        platforms=["any"],
  
        install_requires = ["pymongo>=2.4"],
        zip_safe=False,
        include_package_data=True,
  
        author="Steve Lacy",
        author_email="slacy@slacy.com",
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,
        classifiers=CLASSIFIERS,
        keywords=["mongo", "mongodb", "pymongo", "orm"],
        url="http://github.com/slacy/minimongo",
  )
  
subject: Update setup.py