You can use Cx_Freeze ... You can create a .py file in Exe so that it can be excluded on computers without installing Python.
To create Msi, you will need to do what you would like to create exe, but when you type setup.py build in the CMD file setup.py bdist_msi build
source share