old_contents: from distutils.core import setup
  
  from katana import __version__
  
  REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()]
  
  setup(
      name='katana',
      version=__version__,
      author='Sebastien Estienne',
      author_email='sebastien.estienne@gmail.com',
      url='http://github.com/sebest/katana',
      py_modules=['katana'],
      scripts = ['katana.py',],
      data_files = [('/etc/katana', ['katana.conf.sample']),],
      install_requires=REQUIREMENTS,
      )
  
new_contents: from distutils.core import setup
  from pip.req import parse_requirements
  
  from katana import __version__
  
  install_reqs = parse_requirements("requirements.txt")
  
  setup(
      name='katana',
      version=__version__,
      author='Sebastien Estienne',
      author_email='sebastien.estienne@gmail.com',
      url='http://github.com/sebest/katana',
      py_modules=['katana'],
      scripts = ['katana.py',],
      data_files = [('/etc/katana', ['katana.conf.sample']),],
      install_requires=[str(ir.req) for ir in install_reqs],
      )
  
subject: use pip.parse_requirements