old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import pip.download
  
  from pip.req import parse_requirements
  
  from setuptools import find_packages, setup
  
  exec(open('steenzout/primogen/metadata.py').read())
  
  
  def requirements(requirements_file):
      """Return primogen mentioned in the given file.
  
      Args:
          requirements_file (str): path to the requirements file to be parsed.
  
      Returns:
          (list): 3rd-party primogen dependencies contained in the file.
      """
      return [
          str(pkg.req) for pkg in parse_requirements(
              requirements_file, session=pip.download.PipSession())]
  
  
  setup(name='steenzout.primogen',
        version=__version__,
        description='Python basic primogen.',
        author='Pedro Salgado',
        author_email='steenzout@ymail.com',
        maintainer='Pedro Salgado',
        maintainer_email='steenzout@ymail.com',
        url='https://github.com/steenzout/python-primogen/',
        namespace_packages=('steenzout',),
        packages=find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')),
        install_requires=requirements('requirements.txt'),
        tests_require=requirements('requirements-test.txt'))
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import pip.download
  
  from pip.req import parse_requirements
  
  from setuptools import find_packages, setup
  
  exec(open('steenzout/primogen/metadata.py').read())
  
  
  def requirements(requirements_file):
      """Return primogen mentioned in the given file.
  
      Args:
          requirements_file (str): path to the requirements file to be parsed.
  
      Returns:
          (list): 3rd-party primogen dependencies contained in the file.
      """
      return [
          str(pkg.req) for pkg in parse_requirements(
              requirements_file, session=pip.download.PipSession())]
  
  
  setup(name='.'.join(metadata.__name__.split('.')[:-1]),
        version=__version__,
        description=__description__,
        author=__author__,
        author_email=__author_email__,
        classifiers=__classifiers__,
        maintainer=__maintainer__,
        maintainer_email=__maintainer_email__,
        url=__url__,
        namespace_packages=('steenzout',),
        packages=find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')),
        install_requires=requirements('requirements.txt'),
        tests_require=requirements('requirements-test.txt'))
  
subject: use metadata module to pass keyword arguments.