text: #!/usr/bin/env python
  
  """The setup script."""
  
  from setuptools import setup, find_packages
  
  with open('README.rst') as readme_file:
      readme = readme_file.read()
  
  with open('HISTORY.rst') as history_file:
      history = history_file.read()
  
  requirements = []
  
  test_requirements = ['pytest>=3']
  
  {%- set license_classifiers = {
      'MIT license': 'License :: OSI Approved :: MIT License',
      'BSD license': 'License :: OSI Approved :: BSD License',
      'ISC license': 'License :: OSI Approved :: ISC License (ISCL)',
      'Apache Software License 2.0': 'License :: OSI Approved :: Apache Software License',
      'GNU General Public License v3': 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
  } %}
  
  setup(
      author="{{ cookiecutter.full_name.replace('\"', '\\\"') }}",
      author_email='{{ cookiecutter.email }}',
      python_requires='>=3.6',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Intended Audience :: Developers',
  {%- if cookiecutter.open_source_license in license_classifiers %}
          '{{ license_classifiers[cookiecutter.open_source_license] }}',
  {%- endif %}
          'Natural Language :: English',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Programming Language :: Python :: 3.8',
      ],
      description="{{ cookiecutter.project_short_description }}",
      {%- if 'no' not in cookiecutter.command_line_interface|lower %}
      entry_points={
          'console_scripts': [
              '{{ cookiecutter.project_slug }}={{ cookiecutter.project_slug }}.cli:main',
          ],
      },
      {%- endif %}
      install_requires=requirements,
  {%- if cookiecutter.open_source_license in license_classifiers %}
      license="{{ cookiecutter.open_source_license }}",
  {%- endif %}
      long_description=readme + '\n\n' + history,
      include_package_data=True,
      keywords='{{ cookiecutter.project_slug }}',
      name='{{ cookiecutter.project_slug }}',
      packages=find_packages(include=['{{ cookiecutter.project_slug }}', '{{ cookiecutter.project_slug }}.*']),
      test_suite='tests',
      tests_require=test_requirements,
      url='https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}',
      version='{{ cookiecutter.version }}',
      zip_safe=False,
  )
  