code: def cleanup_pycache():
      
      try:
          for file in glob.glob('setup.py[co]'):
              os.remove(file)
          if isdir('__pycache__'):
              for file in glob.glob(join('__pycache__', 'setup.*.py[co]')):
                  os.remove(file)
              if not glob.glob(join('__pycache__', '*')):
                  os.rmdir('__pycache__')
      except (IOError, OSError):
          pass
docs: Remove .pyc files we leave around because of import.