old_contents: #!/usr/bin/env python3
  try:
    from setuptools import setup
  except ImportError:
    from distutils.core import setup
  from sys import platform
  import subprocess
  import glob
  import os
  
  ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
        stdout=subprocess.PIPE).stdout.decode().strip()
  
  setup(
    name = 'knightos',
    packages = ['knightos', 'knightos.commands'],
    version = ver,
    description = 'KnightOS SDK',
    author = 'Drew DeVault',
    author_email = 'sir@cmpwn.com',
    url = 'https://github.com/KnightOS/sdk',
    install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
    license = 'AGPL-3.0',
    scripts=['bin/knightos'],
    package_data={
        'knightos': [
            'templates/\'*\'',
            'templates/c/\'*\'',
            'templates/assembly/\'*\'',
        ]
    },
  )
  
new_contents: #!/usr/bin/env python3
  try:
    from setuptools import setup
  except ImportError:
    from distutils.core import setup
  from sys import platform
  import subprocess
  import glob
  import os
  
  ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
        stdout=subprocess.PIPE).stdout.decode().strip()
  setup(
    name = 'knightos',
    packages = ['knightos', 'knightos.commands'],
    version = ver,
    description = 'KnightOS SDK',
    author = 'Drew DeVault',
    author_email = 'sir@cmpwn.com',
    url = 'https://github.com/KnightOS/sdk',
    install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
    license = 'AGPL-3.0',
    scripts=['bin/knightos'],
    include_package_data=True,
    package_data={
        'knightos': [
            'knightos/templates/\'*\'',
            'knightos/templates/c/\'*\'',
            'knightos/templates/assembly/\'*\'',
        ]
    },
  )
  
subject: Fix templates building on OS X