code: def install():
      
      import os, shutil
      
      _ROOT = os.getcwd()
      _PACKAGE_NAME = os.path.basename(_ROOT)
      
      print("Installing [%s] to all python version..." % _PACKAGE_NAME)
      # find all Python release installed on this windows computer
      installed_python_version = list()
      for root, folder_list, _ in os.walk(r"C:\\"):
          for folder in folder_list:
              if folder.startswith("Python"):
                  if os.path.exists(os.path.join(root, folder, "pythonw.exe")):
                      installed_python_version.append(folder)
          break
      print("\tYou have installed: {0}".format(", ".join(installed_python_version)))
      
      # remove __pycache__ folder and *.pyc file
      print("\tRemoving *.pyc file ...")
      pyc_folder_list = list()
      for root, folder_list, _ in os.walk(_ROOT):
          if os.path.basename(root) == "__pycache__":
              pyc_folder_list.append(root)
      
      for folder in pyc_folder_list:
          shutil.rmtree(folder)
      print("\t\tall *.pyc file has been removed.")
      
      # install this package to all python version
      for py_root in installed_python_version:
          dst = os.path.join(r"C:\\", py_root, r"Lib\site-packages", _PACKAGE_NAME)
          try:
              shutil.rmtree(dst)
          except:
              pass
          print("\tRemoved %s." % dst)
          shutil.copytree(_ROOT, dst)
          print("\tInstalled %s." % dst)
      
      print("Complete!")
docs: Install your package to all Python version you have installed on Windows.