old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from setuptools import setup, find_packages
  import os
  import re
  
  root_dir = os.path.abspath(os.path.dirname(__file__))
  
  
  def get_version(package_name):
      version_re = re.compile(r"^__version__ = [\"']([\w_.-]+)[\"']$")
      package_components = package_name.split('.')
      path_components = package_components + ['__init__.py']
      with open(os.path.join(root_dir, *path_components)) as f:
          for line in f:
              match = version_re.match(line[:-1])
              if match:
                  return match.groups()[0]
      return '0.1.0'
  
  
  def read_requirements(filename):
      with open(filename, 'rt') as f:
          lines = [l.strip() for l in f]
          return [l for l in lines if l and not l.startswith('#')]
  
  
  PACKAGE = 'uconf'
  
  
  setup(
      name=PACKAGE,
      version=get_version(PACKAGE),
      author="Raphaël Barrois",
      author_email="raphael.barrois@polytechnique.org",
      description='UConf, a smart tool for managing config files',
      license="GPLv3+",
      keywords=['configuration', 'management', 'uconf', 'confmgr', 'config'],
      url="http://uconf.xelnor.net/",
      packages=find_packages(),
      scripts=['bin/uconf'],
      setup_requires=[
          'distribute',
      ],
      install_requires=read_requirements('requirements.txt'),
      test_requires=read_requirements('test_requirements.txt'),
      classifiers=[
          "Development Status :: 4 - Beta",
          "License :: OSI Approved :: MIT License",
          'Operating System :: OS Independent',
          'Programming Language :: Python',
      ],
      test_suite='tests',
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from setuptools import setup, find_packages
  import os
  import re
  
  root_dir = os.path.abspath(os.path.dirname(__file__))
  
  
  def get_version(package_name):
      version_re = re.compile(r"^__version__ = [\"']([\w_.-]+)[\"']$")
      package_components = package_name.split('.')
      path_components = package_components + ['__init__.py']
      with open(os.path.join(root_dir, *path_components)) as f:
          for line in f:
              match = version_re.match(line[:-1])
              if match:
                  return match.groups()[0]
      return '0.1.0'
  
  
  def read_requirements(filename):
      with open(filename, 'rt') as f:
          lines = [l.strip() for l in f]
          return [l for l in lines if l and not l.startswith('#')]
  
  
  PACKAGE = 'uconf'
  
  
  setup(
      name=PACKAGE,
      version=get_version(PACKAGE),
      author="Raphaël Barrois",
      author_email="raphael.barrois@polytechnique.org",
      description='UConf, a smart tool for managing config files',
      license="GPLv3+",
      keywords=['configuration', 'management', 'uconf', 'confmgr', 'config'],
      url="http://uconf.xelnor.net/",
      packages=find_packages(),
      scripts=['bin/uconf'],
      setup_requires=[
          'distribute',
      ],
      install_requires=read_requirements('requirements.txt'),
      test_requires=read_requirements('test_requirements.txt'),
      classifiers=[
          "Development Status :: 4 - Beta",
          "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
          'Operating System :: OS Independent',
          'Programming Language :: Python',
      ],
      test_suite='tests',
  )
  
subject: Update license.