old_contents: # -*- coding: utf-8 -*-
  from os import path
  
  from setuptools import setup, find_packages
  
  
  here = path.abspath(path.dirname(__file__))
  
  with open(path.join(here, 'README.md'), encoding='utf-8') as f:
      long_description = f.read()
  
  
  install_requires = [
      'tornado',
      'pyserial'
  ]
  
  setup_requires = [
      'pytest-runner'
  ]
  
  tests_require = [
      'pytest',
      'coverage',
      'pytest-cov'
  ]
  
  extras_require = {
      'tests': tests_require,
      'all': install_requires + tests_require
  }
  
  setup(
      name="dusty-acorn",
      version="2.0",
      description="Air Quality monitoring web application",
      long_description=long_description,
      long_description_content_type="text/markdown",
      url="https://github.com/niwa/dusty-acorn",
      packages=find_packages(),
      python_requires='>=3.7',
      install_requires=install_requires,
      setup_requires=setup_requires,
      tests_require=tests_require,
      extras_require=extras_require,
      entry_points={
          'console_scripts': [
              'dusty-acorn=dusty_acorn:main'
          ]
      }
  )
  
new_contents: # -*- coding: utf-8 -*-
  from os import path
  
  from setuptools import setup, find_packages
  
  here = path.abspath(path.dirname(__file__))
  
  with open(path.join(here, 'README.md'), encoding='utf-8') as f:
      long_description = f.read()
  
  install_requires = [
      'tornado',
      'pyserial'
  ]
  
  setup_requires = [
      'pytest-runner'
  ]
  
  tests_require = [
      'pytest',
      'coverage',
      'pytest-cov'
  ]
  
  extras_require = {
      'tests': tests_require,
      'all': install_requires + tests_require
  }
  
  setup(
      name="dusty-acorn",
      version="2.0",
      description="Air Quality monitoring web application",
      long_description=long_description,
      long_description_content_type="text/markdown",
      url="https://github.com/niwa/dusty-acorn",
      packages=find_packages(),
      # find . -name "*.*" -exec sh -c 'echo "${0##*.}"' {} \; | sort | uniq
      package_data={
          '': [
              '*.css',
              '*.eot',
              '*.html',
              '*.jpg',
              '*.js',
              '*.json',
              '*.mp3',
              '*.mp4',
              '*.ods',
              '*.otf',
              '*.png',
              '*.svg',
              '*.ttf',
              '*.woff',
              '*.woff2'
          ],
      },
      python_requires='>=3.7',
      install_requires=install_requires,
      setup_requires=setup_requires,
      tests_require=tests_require,
      extras_require=extras_require,
      entry_points={
          'console_scripts': [
              'dusty-acorn=dusty_acorn:main'
          ]
      }
  )
  
subject: Include non-py files in the final package too