Python to exe file

Hello everuone. I have question about making .exe file of OpenCV python project. How I can make the .exe file of my project? I am using tensorflow, keras, opencv libraries in my project.
This is my pip list:
Package Version


absl-py 0.11.0
altgraph 0.17
asgiref 3.3.4
astor 0.8.1
astunparse 1.6.3
bleach 1.5.0
cached-property 1.5.2
cachetools 4.1.1
certifi 2020.6.20
chardet 3.0.4
charset-normalizer 2.0.4
cloudpickle 1.6.0
comtypes 1.1.7
cycler 0.10.0
dataclasses 0.8
decorator 4.4.2
dm-tree 0.1.5
freetype-py 2.2.0
future 0.18.2
gast 0.3.3
gif2numpy 1.3
google-auth 1.23.0
google-auth-oauthlib 0.4.2
google-pasta 0.2.0
grpcio 1.33.2
gunicorn 19.6.0
h5py 2.10.0
html5lib 0.9999999
idna 2.10
importlib-metadata 2.0.0
Jinja2 3.0.1
joblib 0.17.0
kaitaistruct 0.9
Keras 2.2.4
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.2
kiwisolver 1.3.1
Markdown 3.3.3
MarkupSafe 2.0.1
matplotlib 3.3.4
mss 6.1.0
numpy 1.16.0
numpy2gif 1.0
oauthlib 3.1.0
opencv-python 4.4.0.46
opt-einsum 3.3.0
pefile 2019.4.18
PILasOPENCV 2.7
Pillow 8.0.1
pip 21.2.4
protobuf 3.9.2
pyasn1 0.4.8
pyasn1-modules 0.2.8
pydot 1.4.2
pyinstaller 4.5.1
pyinstaller-hooks-contrib 2021.3
pyparsing 2.4.7
pypiwin32 223
python-dateutil 2.8.1
pyttsx3 2.90
pytz 2021.1
pywin32 228
pywin32-ctypes 0.2.0
PyYAML 5.3.1
render 1.0.0
requests 2.24.0
requests-oauthlib 1.3.0
rsa 4.6
scikit-learn 0.23.2
scipy 1.1.0
setuptools 58.0.4
six 1.15.0
sklearn 0.0
sqlparse 0.4.1
tensorboard 2.3.0
tensorboard-plugin-wit 1.8.0
tensorflow 1.5.0
tensorflow-estimator 2.3.0
tensorflow-gpu 2.3.1
tensorflow-gpu-estimator 2.3.0
tensorflow-probability 0.11.1
tensorflow-tensorboard 1.5.1
termcolor 1.1.0
threadpoolctl 2.1.0
typing-extensions 3.10.0.0
urllib3 1.25.11
Werkzeug 2.0.1
wheel 0.37.0
wrapt 1.12.1
zipp 3.5.0

same way you’d do that for any other python code that uses libraries.

pyinstaller, py2exe, cython, …