old_contents: from setuptools import setup
  
  
  def readme():
      with open('README.md', encoding='utf-8') as file:
          return file.read()
  
  
  def requirements(section=None):
      """Helper for loading dependencies from requirements files."""
      if section is None:
          filename = "requirements.txt"
      else:
          filename = f"requirements-{section}.txt"
  
      with open(filename) as file:
          return [line.strip() for line in file]
  
  
  setup(
      name='ppb-vector',
      version='0.4.0rc1',
      packages=['ppb_vector'],
      url='http://github.com/pathunstrom/ppb-vector',
      license='',
      author='Piper Thunstrom',
      author_email='pathunstrom@gmail.com',
      description='A basic game development Vector2 class.',
      install_requires=requirements(),
      tests_require=requirements('tests'),
      long_description=readme(),
      long_description_content_type="text/markdown",
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Topic :: Software Development :: Libraries',
          'Topic :: Scientific/Engineering :: Mathematics',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
      ],
      zip_safe=True,
  )
  
new_contents: from setuptools import setup
  
  
  def readme():
      with open('README.md', encoding='utf-8') as file:
          return file.read()
  
  
  def requirements(section=None):
      """Helper for loading dependencies from requirements files."""
      if section is None:
          filename = "requirements.txt"
      else:
          filename = f"requirements-{section}.txt"
  
      with open(filename) as file:
          return [line.strip() for line in file]
  
  
  setup(
      name='ppb-vector',
      version='0.4.0rc1',
      packages=['ppb_vector'],
      url='http://github.com/pathunstrom/ppb-vector',
      license='Artistic-2.0',
      author='Piper Thunstrom',
      author_email='pathunstrom@gmail.com',
      description='A basic game development Vector2 class.',
      install_requires=requirements(),
      tests_require=requirements('tests'),
      long_description=readme(),
      long_description_content_type="text/markdown",
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Topic :: Software Development :: Libraries',
          'Topic :: Scientific/Engineering :: Mathematics',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
      ],
      zip_safe=True,
  )
  
subject: Add license metadata