old_contents: import sys
  
  from setuptools import setup
  
  from clippings import __version__
  
  
  requirements = [
      'python-dateutil==2.7.5',
  ]
  
  if sys.version_info[0] == 2:
      requirements.append('mock==2.0.0')
  
  
  setup(
      name='clippings',
      version=__version__,
      description='Amazon Kindle clippings parser',
      long_description=(open('README.rst').read()),
      url='http://github.com/samueldg/clippings/',
      download_url = 'https://github.com/samueldg/clippings/tarball/' + __version__,
      install_requires=requirements,
      license='MIT',
      author='Samuel Dion-Girardeau',
      author_email='samuel.diongirardeau@gmail.com',
      packages=[
          'clippings'
      ],
      entry_points={
          'console_scripts': [
              'clippings = clippings.parser:main',
          ],
      },
      include_package_data=True,
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Utilities',
      ],
      keywords=['amazon', 'kindle', 'clipping', 'e-book'],
      zip_safe=False,
  )
  
new_contents: import re
  import sys
  
  from setuptools import setup
  
  
  with open('clippings/__init__.py') as f:
      # Not importing the file in setup.py!
      VERSION = re.search(r"__version__ = '(?P<version>.*?)'", f.read()).group('version')
  
  requirements = [
      'python-dateutil==2.7.5',
  ]
  
  if sys.version_info[0] == 2:
      requirements.append('mock==2.0.0')
  
  
  setup(
      name='clippings',
      version=VERSION,
      description='Amazon Kindle clippings parser',
      long_description=(open('README.rst').read()),
      url='http://github.com/samueldg/clippings/',
      download_url = 'https://github.com/samueldg/clippings/tarball/' + VERSION,
      install_requires=requirements,
      license='MIT',
      author='Samuel Dion-Girardeau',
      author_email='samuel.diongirardeau@gmail.com',
      packages=[
          'clippings'
      ],
      entry_points={
          'console_scripts': [
              'clippings = clippings.parser:main',
          ],
      },
      include_package_data=True,
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Utilities',
      ],
      keywords=['amazon', 'kindle', 'clipping', 'e-book'],
      zip_safe=False,
  )
  
subject: Stop importing the package in setup.py