old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import codecs
  import os
  
  from setuptools import setup
  
  # Fix for building on non-Windows systems
  try:
      codecs.lookup("mbcs")
  except LookupError:
      ascii = codecs.lookup("ascii")
      func = lambda name, enc=ascii: {True: enc}.get(name == "mbcs")
      codecs.register(func)
  
  setup()
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from setuptools import setup
  
  setup()
  
subject: drop codecs from setup.py (#533)