old_contents: from __future__ import absolute_import
  
  import sys
  from setuptools import setup
  
  _PY2 = sys.version_info.major == 2
  
  # add __version__, __author__, __authoremail__, __description__ to this namespace
  # equivalent to:
  if _PY2:
      execfile("./dimod/package_info.py")
  else:
      exec(open("./dimod/package_info.py").read())
  
  install_requires = ['decorator>=4.1.0',
                      'enum34']
  
  tests_require = ['numpy']
  extras_require = {'tests': tests_require,
                    'docs': ['sphinx', 'sphinx_rtd_theme', 'recommonmark'],
                    'all': ['numpy']}
  
  packages = ['dimod',
              'dimod.responses',
              'dimod.composites',
              'dimod.samplers']
  
  setup(
      name='dimod',
      version=__version__,
      author=__author__,
      author_email=__authoremail__,
      description=__description__,
      url='https://github.com/dwavesystems/dimod',
      download_url='https://github.com/dwavesys/dimod/archive/0.1.1.tar.gz',
      license='Apache 2.0',
      packages=packages,
      install_requires=install_requires,
      extras_require=extras_require,
      tests_require=tests_require
  )
  
new_contents: from __future__ import absolute_import
  
  import sys
  from setuptools import setup
  
  _PY2 = sys.version_info.major == 2
  
  # add __version__, __author__, __authoremail__, __description__ to this namespace
  # equivalent to:
  if _PY2:
      execfile("./dimod/package_info.py")
  else:
      exec(open("./dimod/package_info.py").read())
  
  install_requires = ['decorator==4.1.2',
                      'enum34==1.1.6']
  
  tests_require = ['numpy']
  extras_require = {'tests': tests_require,
                    'docs': ['sphinx', 'sphinx_rtd_theme', 'recommonmark'],
                    'all': ['numpy']}
  
  packages = ['dimod',
              'dimod.responses',
              'dimod.composites',
              'dimod.samplers']
  
  setup(
      name='dimod',
      version=__version__,
      author=__author__,
      author_email=__authoremail__,
      description=__description__,
      url='https://github.com/dwavesystems/dimod',
      download_url='https://github.com/dwavesys/dimod/archive/0.1.1.tar.gz',
      license='Apache 2.0',
      packages=packages,
      install_requires=install_requires,
      extras_require=extras_require,
      tests_require=tests_require
  )
  
subject: Fix enum34 version