old_contents: # Copyright (c) 2014-2022 Matthew Brennan Jones <matthew.brennan.jones@gmail.com>
  # Py-cpuinfo gets CPU info with pure Python
  # It uses the MIT License
  # It is hosted at: https://github.com/workhorsy/py-cpuinfo
  
  import os
  from setuptools import setup
  
  with open(os.path.join(os.getcwd(), 'README.rst')) as f:
      readme_content = f.read()
  
  setup(
      name = "py-cpuinfo",
      version = "9.0.0",
      author = "Matthew Brennan Jones",
      author_email = "matthew.brennan.jones@gmail.com",
      description = "Get CPU info with pure Python",
      long_description=readme_content,
      license = "MIT",
      url = "https://github.com/workhorsy/py-cpuinfo",
      packages=['cpuinfo'],
      test_suite="test_suite",
      entry_points = {
          'console_scripts': ['cpuinfo = cpuinfo:main'],
      },
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Topic :: Utilities",
          "License :: OSI Approved :: MIT License",
          "Programming Language :: Python :: 3"
      ],
  )
  
new_contents: # Copyright (c) 2014-2022 Matthew Brennan Jones <matthew.brennan.jones@gmail.com>
  # Py-cpuinfo gets CPU info with pure Python
  # It uses the MIT License
  # It is hosted at: https://github.com/workhorsy/py-cpuinfo
  
  import os
  from setuptools import setup
  
  with open(os.path.join(os.getcwd(), 'README.rst')) as f:
      readme_content = f.read()
  
  setup(
      name = "py-cpuinfo",
      version = "9.0.0",
      author = "Matthew Brennan Jones",
      author_email = "matthew.brennan.jones@gmail.com",
      description = "Get CPU info with pure Python",
      long_description=readme_content,
      python_requires='>=3',
      license = "MIT",
      url = "https://github.com/workhorsy/py-cpuinfo",
      packages=['cpuinfo'],
      test_suite="test_suite",
      entry_points = {
          'console_scripts': ['cpuinfo = cpuinfo:main'],
      },
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Topic :: Utilities",
          "License :: OSI Approved :: MIT License",
          "Programming Language :: Python :: 3"
      ],
  )
  
subject: Enforce Python 3