You can try using PyInstaller to package Python programs as standalone executables. It'll works on Windows, Linux, and Mac.
http://www.pyinstaller.org/
PyInstaller Quickstart
Try to Install PyInstaller from PyPI:
pip install pyinstaller
Now, go to your program’s directory and run:
pyinstaller yourprogram.py
This will generate the bundle in a subdirectory called dist.
For more detailed information, refer to this:https://pyinstaller.readthedocs.io/en/stable/