old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  #
  #The MIT License (MIT)
  #
  #Copyright (c) <2013> <Colin Duquesnoy and others, see AUTHORS.txt>
  #
  #Permission is hereby granted, free of charge, to any person obtaining a copy
  #of this software and associated documentation files (the "Software"), to deal
  #in the Software without restriction, including without limitation the rights
  #to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  #copies of the Software, and to permit persons to whom the Software is
  #furnished to do so, subject to the following conditions:
  #
  #The above copyright notice and this permission notice shall be included in
  #all copies or substantial portions of the Software.
  #
  #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  #IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  #FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  #AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  #LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  #OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  #THE SOFTWARE.
  #
  """
  This setup script packages the core package of pyQode: pyqode-core
  """
  from setuptools import setup, find_packages
  
  
  def read_version():
      with open("pyqode/core/__init__.py") as f:
          lines = f.read().splitlines()
          for l in lines:
              if "__version__" in l:
                  return l.split("=")[1].strip().replace('"', '')
  
  print(read_version())
  
  def readme():
      return str(open('README.rst').read())
  
  
  # get requirements
  requirements = ['pygments']
  
  packages = find_packages()
  setup(
      name='pyqode.core',
      namespace_packages=['pyqode'],
      version=read_version(),
      packages=packages,
      keywords=["QCodeEditor", "PySide", "PyQt", "code editor"],
      package_data={'pyqode.core.ui': ['*.ui', '*.qrc', 'rc/*']},
      #package_dir={'pyqode': 'pyqode', "pyqode_designer":},
      url='https://github.com/ColinDuquesnoy/pyqode.core',
      license='MIT',
      author='Colin Duquesnoy',
      author_email='colin.duquesnoy@gmail.com',
      description='Python/Qt Code Editor widget',
      long_description=readme(),
      install_requires=requirements,
      entry_points={'pyqode_plugins':
                    ['pyqode_core = pyqode.core.plugins.pyqode_core_plugin']},
      zip_safe=False
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  #
  #The MIT License (MIT)
  #
  #Copyright (c) <2013> <Colin Duquesnoy and others, see AUTHORS.txt>
  #
  #Permission is hereby granted, free of charge, to any person obtaining a copy
  #of this software and associated documentation files (the "Software"), to deal
  #in the Software without restriction, including without limitation the rights
  #to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  #copies of the Software, and to permit persons to whom the Software is
  #furnished to do so, subject to the following conditions:
  #
  #The above copyright notice and this permission notice shall be included in
  #all copies or substantial portions of the Software.
  #
  #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  #IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  #FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  #AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  #LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  #OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  #THE SOFTWARE.
  #
  """
  This setup script packages the core package of pyQode: pyqode-core
  """
  from setuptools import setup, find_packages
  
  
  def read_version():
      with open("pyqode/core/__init__.py") as f:
          lines = f.read().splitlines()
          for l in lines:
              if "__version__" in l:
                  return l.split("=")[1].strip().replace('"', '')
  
  print(read_version())
  
  def readme():
      return str(open('README.rst').read())
  
  
  # get requirements
  requirements = ['pygments']
  
  packages = find_packages()
  setup(
      name='pyqode.core',
      namespace_packages=['pyqode'],
      version=read_version(),
      packages=packages,
      keywords=["QCodeEdit PySide PyQt code editor widget"],
      package_data={'pyqode.core.ui': ['*.ui', '*.qrc', 'rc/*']},
      #package_dir={'pyqode': 'pyqode', "pyqode_designer":},
      url='https://github.com/ColinDuquesnoy/pyqode.core',
      license='MIT',
      author='Colin Duquesnoy',
      author_email='colin.duquesnoy@gmail.com',
      description='Python/Qt Code Editor widget',
      long_description=readme(),
      install_requires=requirements,
      entry_points={'pyqode_plugins':
                    ['pyqode_core = pyqode.core.plugins.pyqode_core_plugin']},
      zip_safe=False,
      classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Environment :: X11 Applications :: Qt',
            'Environment :: Win32 (MS Windows)',
            'Framework :: pyqode',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: MIT License',
            'Operating System :: Microsoft :: Windows',
            'Operating System :: POSIX :: Linux',
            'Programming Language :: Python :: 2.7',
            'Programming Language :: Python :: 3.2',
            'Programming Language :: Python :: 3.3',
            'Topic :: Software Development :: Libraries :: Application Frameworks',
            'Topic :: Software Development :: Widget Sets',
            'Topic :: Text Editors :: Integrated Development Environments (IDE)'])
  
subject: Add classifiers to setup.py