old_contents: from setuptools import setup
  
  import codecs
  import os
  import re
  
  
  def read(*parts):
      path = os.path.join(os.path.dirname(__file__), *parts)
      with codecs.open(path, encoding='utf-8') as fobj:
          return fobj.read()
  
  
  def find_version():
      version_match = re.search(
          r"^__version__ = ['\"]([^'\"]*)['\"]",
          read('construi', '__version__.py'),
          re.M)
  
      if version_match:
          return version_match.group(1)
  
      raise RuntimeError("Unable to find version string.")
  
  
  requires = {
      'install': [
          'PyYAML == 3.11',
          'docker-compose == 1.7.1'
      ],
      'setup': [
          'flake8 == 2.5.1',
          'pytest-runner == 2.6.2'
      ],
      'tests': [
          'pytest == 2.8.5',
          'pytest-cov == 2.2.0'
      ]
  }
  
  summary = 'Use Docker to define your build environment'
  
  setup(
      name='construi',
      version=find_version(),
      url='https://github.com/lstephen/construi',
      license='Apache License 2.0',
  
      description=summary,
      long_description=summary,
  
      author='Levi Stephen',
      author_email='Levi Stephen <levi.stephen@gmail.com>',
  
      zip_safe=True,
  
      packages=['construi'],
  
      install_requires=requires['install'],
      setup_requires=requires['setup'],
      tests_require=requires['tests'],
  
      entry_points={
          'console_scripts': [
              'construi=construi.cli:main',
          ]
      },
  
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4'
      ]
  )
  
new_contents: from setuptools import setup
  
  import codecs
  import os
  import re
  
  
  def read(*parts):
      path = os.path.join(os.path.dirname(__file__), *parts)
      with codecs.open(path, encoding='utf-8') as fobj:
          return fobj.read()
  
  
  def find_version():
      version_match = re.search(
          r"^__version__ = ['\"]([^'\"]*)['\"]",
          read('construi', '__version__.py'),
          re.M)
  
      if version_match:
          return version_match.group(1)
  
      raise RuntimeError("Unable to find version string.")
  
  
  requires = {
      'install': [
          'PyYAML == 3.11',
          'docker-compose == 1.7.1'
      ],
      'setup': [
          'flake8 == 2.5.1',
          'pytest-runner == 2.6.2'
      ],
      'tests': [
          'pytest == 2.8.5',
          'pytest-cov == 2.2.0'
      ]
  }
  
  summary = 'Use Docker to define your build environment'
  
  setup(
      name='construi',
      version=find_version(),
      url='https://github.com/lstephen/construi',
      license='Apache License 2.0',
  
      description=summary,
      long_description=summary,
  
      author='Levi Stephen',
      author_email='levi.stephen@gmail.com',
  
      zip_safe=True,
  
      packages=['construi'],
  
      install_requires=requires['install'],
      setup_requires=requires['setup'],
      tests_require=requires['tests'],
  
      entry_points={
          'console_scripts': [
              'construi=construi.cli:main',
          ]
      },
  
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4'
      ]
  )
  
subject: Simplify author_email