old_contents: from __future__ import print_function
  from setuptools import setup, find_packages
  from setuptools.command.test import test as TestCommand
  import codecs
  import os
  import sys
  import re
  
  import pyaem
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  def read(*parts):
      # intentionally *not* adding an encoding option to open
      return codecs.open(os.path.join(here, *parts), 'r').read()
  
  def find_version(*file_paths):
      version_file = read(*file_paths)
      version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
                                version_file, re.M)
      if version_match:
          return version_match.group(1)
      raise RuntimeError("Unable to find version string.")
  
  long_description = "TODO" #read('README.md')
  
  class PyTest(TestCommand):
      def finalize_options(self):
          TestCommand.finalize_options(self)
          self.test_args = ['--strict', '--verbose', '--tb=long', 'tests']
          self.test_suite = True
  
      def run_tests(self):
          import pytest
          errno = pytest.main(self.test_args)
          sys.exit(errno)
  
  setup(
      name='pyaem',
      version=pyaem.__version__,
      url='http://github.com/cliffano/pyaem/',
      license='MIT License',
      author='Cliffano Subagio',
      tests_require=['pytest'],
      install_requires=['BeautifulSoup>=3.2.1',
                      'pycurl>=7.19.3.1'
                      ],
      cmdclass={'test': PyTest},
      author_email='cliffano@gmail.com',
      description='Python client for Adobe Experience Manager (AEM) API',
      long_description=long_description,
      packages=['pyaem'],
      include_package_data=True,
      platforms='any',
      test_suite='pyaem.test.test_pyaem',
      classifiers = [
          'Programming Language :: Python',
          'Development Status :: 4 - Beta',
          'Natural Language :: English',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
          ],
      extras_require={
          'testing': ['pytest'],
      }
  )
  
new_contents: from __future__ import print_function
  from setuptools import setup, find_packages
  from setuptools.command.test import test as TestCommand
  import codecs
  import os
  import sys
  import re
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  def read(*parts):
      # intentionally *not* adding an encoding option to open
      return codecs.open(os.path.join(here, *parts), 'r').read()
  
  def find_version(*file_paths):
      version_file = read(*file_paths)
      version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
                                version_file, re.M)
      if version_match:
          return version_match.group(1)
      raise RuntimeError("Unable to find version string.")
  
  long_description = "TODO" #read('README.md')
  
  class PyTest(TestCommand):
      def finalize_options(self):
          TestCommand.finalize_options(self)
          self.test_args = ['--strict', '--verbose', '--tb=long', 'tests']
          self.test_suite = True
  
      def run_tests(self):
          import pytest
          errno = pytest.main(self.test_args)
          sys.exit(errno)
  
  setup(
      name='pyaem',
      version='0.0.1',
      url='http://github.com/cliffano/pyaem/',
      license='MIT License',
      author='Cliffano Subagio',
      tests_require=['pytest'],
      install_requires=['BeautifulSoup>=3.2.1',
                      'pycurl>=7.19.3.1'
                      ],
      cmdclass={'test': PyTest},
      author_email='cliffano@gmail.com',
      description='Python client for Adobe Experience Manager (AEM) API',
      long_description=long_description,
      packages=['pyaem'],
      include_package_data=True,
      platforms='any',
      test_suite='pyaem.test.test_pyaem',
      classifiers = [
          'Programming Language :: Python',
          'Development Status :: 4 - Beta',
          'Natural Language :: English',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
          ],
      extras_require={
          'testing': ['pytest'],
      }
  )
  
subject: Change version to value due to pyaem import complaining about deps.