old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import io
  import os
  import sys
  from shutil import rmtree
  
  from setuptools import setup, Command
  
  VERSION = '0.0'
  
  HERE = os.path.abspath(os.path.dirname(__file__))
  
  with io.open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
      long_description = '\n' + f.read()
  
  
  class UploadCommand(Command):
      """
      Support setup.py upload.
  
      Based on, and thanks to, https://github.com/kennethreitz/setup.py/blob/master/setup.py
      """
  
      description = 'Build and publish the package.'
      user_options = []
  
      @staticmethod
      def status(s):
          """Prints things in bold."""
          print('\033[1m{0}\033[0m'.format(s))
  
      def initialize_options(self):
          pass
  
      def finalize_options(self):
          pass
  
      def run(self):
          try:
              self.status('Removing previous builds…')
              rmtree(os.path.join(HERE, 'dist'))
          except OSError:
              pass
  
          self.status('Building Source and Wheel (universal) distribution…')
          os.system('{0} setup.py sdist bdist_wheel --universal'.format(sys.executable))
  
          self.status('Uploading the package to PyPI via Twine…')
          os.system('twine upload dist/*')
  
          self.status('Pushing git tags…')
          os.system('git tag v{0}'.format(VERSION))
          os.system('git push --tags')
          
          sys.exit()
  
  setup(
      name='stencilaschema',
      version=VERSION,
      description='',
      long_description=long_description,
      long_description_content_type='text/markdown',
      author='Nokome Bentley',
      author_email='nokome@stenci.la',
      python_requires='>=3.6.0',
      url='https://github.com/stencila/schema',
      packages=['stencilaschema', 'stencilaschema.comms'],
      package_dir = {'stencilaschema': 'src'},
      install_requires=[],
      extras_require={},
      include_package_data=True,
      license='Apache-2.0',
      classifiers=[
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: Implementation :: CPython',
          'Programming Language :: Python :: Implementation :: PyPy'
      ],
      cmdclass={
          'upload': UploadCommand,
      },
  )
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import io
  import os
  import sys
  from shutil import rmtree
  
  from setuptools import setup, Command
  
  VERSION = '0.0'
  
  HERE = os.path.abspath(os.path.dirname(__file__))
  
  with io.open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
      long_description = '\n' + f.read()
  
  
  class UploadCommand(Command):
      """
      Support setup.py upload.
  
      Based on, and thanks to, https://github.com/kennethreitz/setup.py/blob/master/setup.py
      """
  
      description = 'Build and publish the package.'
      user_options = []
  
      @staticmethod
      def status(s):
          """Prints things in bold."""
          print('\033[1m{0}\033[0m'.format(s))
  
      def initialize_options(self):
          pass
  
      def finalize_options(self):
          pass
  
      def run(self):
          try:
              self.status('Removing previous builds…')
              rmtree(os.path.join(HERE, 'dist'))
          except OSError:
              pass
  
          self.status('Building Source and Wheel (universal) distribution…')
          os.system('{0} setup.py sdist bdist_wheel --universal'.format(sys.executable))
  
          self.status('Uploading the package to PyPI via Twine…')
          os.system('twine upload dist/*')
  
          self.status('Pushing git tags…')
          os.system('git tag v{0}'.format(VERSION))
          os.system('git push --tags')
  
          sys.exit()
  
  setup(
      name='stencilaschema',
      version=VERSION,
      description='',
      long_description=long_description,
      long_description_content_type='text/markdown',
      author='Nokome Bentley',
      author_email='nokome@stenci.la',
      python_requires='>=3.6.0',
      url='https://github.com/stencila/schema',
      packages=['stencilaschema', 'stencilaschema.types', 'stencilaschema.comms'],
      package_dir={'stencilaschema': 'src'},
      install_requires=[],
      extras_require={},
      include_package_data=True,
      license='Apache-2.0',
      classifiers=[
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: Implementation :: CPython',
          'Programming Language :: Python :: Implementation :: PyPy'
      ],
      cmdclass={
          'upload': UploadCommand,
      },
  )
  
subject: remove lint from setup.py