Python Forum
python packaging/ hosted in IIS server - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: python packaging/ hosted in IIS server (/thread-41969.html)



python packaging/ hosted in IIS server - manjureka - Apr-16-2024

I have developed a website using python Flask which is hosted on IIS and accessible to my team. My question is for security reasons how to package the python files, templates and static folder into a single executable file or .dll file and the same will be hosted on IIS server. Is it possible to directly host an executable (.exe) file on the IIS server? Please suggest an idea or reference document.

Note: I have tried using Pyinstaller to create a single executable, but it doesn't seem to run on IIS.